aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-03-27 13:30:24 +0000
committergweltas <gweltas@piwigo.org>2004-03-27 13:30:24 +0000
commit7707b8456b28bd5e9c2ba40c0d6c8d515d78166e (patch)
tree305882c81ae5b7a439a1d7adb636ebabf3952dd5 /install.php
parent6b1aee3dadcc2600967866613ac138b0932d0b4c (diff)
- Split of infos.lang.php
git-svn-id: http://piwigo.org/svn/trunk@400 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.php b/install.php
index 3d520be99..25d121972 100644
--- a/install.php
+++ b/install.php
@@ -150,9 +150,10 @@ if ( !file_exists(@realpath(PHPWG_ROOT_PATH . 'language/' . $language . '/instal
{
$language = 'en_EN';
}
+
+include( './language/'.$language.'/common.lang.php' );
include( './language/'.$language.'/install.lang.php' );
include( './language/'.$language.'/admin.lang.php' );
-include_once(PHPWG_ROOT_PATH . 'language/infos.lang.php');
// Obtain various vars
$dbhost = (!empty($_POST['dbhost'])) ? $_POST['dbhost'] : 'localhost';
@@ -342,7 +343,7 @@ $template->assign_vars(array(
'F_ADMIN_EMAIL'=>$admin_mail,
'F_LANG_SELECT'=>language_select($language),
- 'T_CONTENT_ENCODING' => $lang['default']['charset']
+ 'T_CONTENT_ENCODING' => $lang_info['charset']
));
//-------------------------------------------------------- errors & infos display