From e74e4567495b5ef46866ba7d4040ff49c9ccfee7 Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 19 Sep 2007 05:26:58 +0000 Subject: Resolved 0000748: Name configuration of all the tables Resolved 0000750: Check anomalies after upgrade (Feature proposition) git-svn-id: http://piwigo.org/svn/trunk@2096 68402e56-0260-453c-a942-63ccdbb3a9ee --- upgrade.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index 065db9983..4522fd839 100644 --- a/upgrade.php +++ b/upgrade.php @@ -37,8 +37,7 @@ include(PHPWG_ROOT_PATH . 'include/config_default.inc.php'); check_upgrade(); -// concerning upgrade, we use the default users table -$conf['users_table'] = $prefixeTable.'users'; +prepare_conf_upgrade(); include_once(PHPWG_ROOT_PATH.'include/constants.php'); define('PREFIX_TABLE', $prefixeTable); @@ -304,6 +303,13 @@ if you encounter any problem.' UPDATE '.USER_CACHE_TABLE.' SET need_update = \'true\' ;'; + + pwg_query($query); + $query = ' +REPLACE INTO '.PLUGINS_TABLE.' + (id, state) + VALUES (\'c13y_upgrade\', \'active\') +;'; pwg_query($query); } else -- cgit v1.2.3