mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
Installation procedure update
git-svn-id: http://piwigo.org/svn/trunk@463 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user