aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-07-28 17:21:58 +0000
committergweltas <gweltas@piwigo.org>2004-07-28 17:21:58 +0000
commit52a3531e7e140077c7fd4ce82acfc085091fffb0 (patch)
treefd9673b2c25ef12bf28bff8bd2909027ec24d774 /include/functions_user.inc.php
parent4cec52cc3cd9a5031de6ee8fc2c56cd151eec3c9 (diff)
Installation procedure update
git-svn-id: http://piwigo.org/svn/trunk@463 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_user.inc.php4
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');
}