Constants

 

Default precision of Benchmark timers

BENCH_PRECISION = 5 
package salt\conf
 

Default charset

CHARSET = 'UTF-8' 
package salt\conf
 

Default PHP date format for display a date field

DEFAULT_DATE_DISPLAY_FORMAT = 'd/m/Y' 
package salt\conf
 

Launch I18n locales check

I18N_CHECK = FALSE 
package salt\conf
 

Default locale for ALL I18n instances

I18N_DEFAULT_LOCALE = 'en' 

We cannot allow user to overwrite it. So the only way to change it is here, and it changed it for all applications linked to this SALT installation.
If we allow overwrite in each application, and if two applications use different value, classes generated for SALT framework will became unconsistent :
the I18N_DEFAULT_LOCALE set the parent class of all generated classes, so we cannot have a class A with parent B for an application, and class B with parent A for another.

package salt\conf
 

Launch I18n class regeneration

I18N_GENERATE = FALSE 
package salt\conf
 

Locale for SALT I18n instance

I18N_LOCALE = 'en' 
package salt\conf
 

Mode for SALT I18n instance class generation

I18N_MODE = \salt\I18n::MODE_REGENERATE_ON_THE_FLY 
package salt\conf