diff options
author | rub <rub@piwigo.org> | 2007-03-28 22:30:04 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-03-28 22:30:04 +0000 |
commit | 69b26ddc47829d3876fbf786ad1c4e5b33f05b76 (patch) | |
tree | c187aba3cfcdddb984254b4f9f8fc1a41af1a4a5 /install.php | |
parent | 60903d8c88c976ff4886fd72a7e5e37f7c7a79b8 (diff) |
Issue 578
User guest must be real user
Step 2: Installation finished, guest must be used on list and group, corrections
git-svn-id: http://piwigo.org/svn/trunk@1930 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | install.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/install.php b/install.php index 831ed98c2..19eee1600 100644 --- a/install.php +++ b/install.php @@ -312,13 +312,6 @@ define(\'PHPWG_INSTALLED\', true); $table_prefix ); - $query = ' -UPDATE '.CONFIG_TABLE.' - SET value = \''.$language.'\' - WHERE param = \'default_language\' -;'; - mysql_query($query); - // fill $conf global array load_conf_from_db(); @@ -343,14 +336,7 @@ UPDATE '.CONFIG_TABLE.' ); mass_inserts(USERS_TABLE, array_keys($inserts[0]), $inserts); - create_user_infos(1); - create_user_infos(2); - - $query = ' -UPDATE '.USER_INFOS_TABLE.' - SET language = \''.$language.'\' -;'; - mysql_query($query); + create_user_infos(array(1,2), array('language' => $language)); // Available upgrades must be ignored after a fresh installation. To // make PWG avoid upgrading, we must tell it upgrades have already been |