diff options
author | nikrou <nikrou@piwigo.org> | 2009-11-16 19:17:01 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-11-16 19:17:01 +0000 |
commit | 8a299654501db00316a56efda76448a6bb3975e1 (patch) | |
tree | b34f9693380c3e4a69d7c9c45c011fb327560be1 /admin/include | |
parent | 9a773f003c2c88f3916942b65c36912ff81cecf6 (diff) |
Feature 928 resolved.
Replace include/mysql.inc.php by include/config_database.inc.php to be independant of database engine
Rename database configurations variables by ones in $conf array.
git-svn-id: http://piwigo.org/svn/trunk@4280 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions_upgrade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php index c7aa23873..1d0fbd969 100644 --- a/admin/include/functions_upgrade.php +++ b/admin/include/functions_upgrade.php @@ -159,7 +159,7 @@ WHERE username = "'.$username.'" { $query = ' SELECT u.password, ui.status -FROM '.$conf['users_table'].' AS u +FROM '.USERS_TABLE.' AS u INNER JOIN '.USER_INFOS_TABLE.' AS ui ON u.'.$conf['user_fields']['id'].'=ui.user_id WHERE '.$conf['user_fields']['username'].'="'.$username.'" |