diff options
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r-- | include/functions_user.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 0e1f8a628..5af68ad4e 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -218,7 +218,7 @@ function init_userprefs($userdata) if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language . '/common.lang.php')) ) { - $language = 'en_EN'; + $language = DEFAULT_LANGUAGE; } include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/common.lang.php'); @@ -227,7 +227,7 @@ function init_userprefs($userdata) { if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language. '/admin.lang.php')) ) { - $language = 'en_EN'; + $language = DEFAULT_LANGUAGE; } include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/admin.lang.php'); } |