Add LOCALE config settings
next to the current lang/encoding add locale that is a combination of both. Also add a locale folder constant the default LANG variables (DEFAULT_LANG, SITE_LANG) change from en_utf8 to en_US new DEFAULT_LOCALE with en_US.UTF-8
This commit is contained in:
@@ -27,7 +27,9 @@ $__LOCAL_CONFIG = [
|
||||
'db_host' => 'test',
|
||||
'location' => 'test',
|
||||
'debug_flag' => true,
|
||||
'site_lang' => 'en_utf8',
|
||||
'site_lang' => 'en_US',
|
||||
'site_encoding' => 'UTF-8',
|
||||
'site_locale' => 'en_US.UTF-8',
|
||||
'login_enabled' => true
|
||||
];
|
||||
|
||||
@@ -45,7 +47,10 @@ $SITE_CONFIG = [
|
||||
// show DEBUG override
|
||||
'debug_flag' => true,
|
||||
// site language
|
||||
'site_lang' => 'en_utf8',
|
||||
'site_lang' => 'en_US',
|
||||
'site_encoding' => 'UTF-8',
|
||||
// lang + encoding
|
||||
'site_locale' => 'en_US.UTF-8',
|
||||
// enable/disable login override
|
||||
'login_enabled' => true
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user