Installation procedure update

git-svn-id: http://piwigo.org/svn/trunk@463 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2004-07-28 17:21:58 +00:00
parent 4cec52cc3c
commit 52a3531e7e
5 changed files with 11 additions and 8 deletions
+3
View File
@@ -25,6 +25,9 @@
// | USA. |
// +-----------------------------------------------------------------------+
// Default Language
define('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
// Debug Level
define('DEBUG', 1); // Debugging on
//define('DEBUG', 0); // Debugging off
+2 -2
View File
@@ -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');
}
+1 -2
View File
@@ -35,8 +35,7 @@ $infos = array( 'id', 'username', 'mail_address', 'nb_image_line',
'maxheight', 'expand', 'show_nb_comments', 'recent_period',
'template', 'forbidden_categories' );
$query_user = 'SELECT '.implode( ',', $infos );
$query_user.= ' FROM '.USERS_TABLE;
$query_user = 'SELECT * FROM '.USERS_TABLE;
$query_done = false;
$user['is_the_guest'] = false;