diff options
author | rub <rub@piwigo.org> | 2007-09-19 05:26:58 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-09-19 05:26:58 +0000 |
commit | e74e4567495b5ef46866ba7d4040ff49c9ccfee7 (patch) | |
tree | e12f58c9d8b5c870cc4601c62b5254270d1c67bf /upgrade.php | |
parent | 131cf74ba44c35ac82cb949bf33794c8f579105c (diff) |
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
Diffstat (limited to 'upgrade.php')
-rw-r--r-- | upgrade.php | 10 |
1 files changed, 8 insertions, 2 deletions
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 |