diff options
author | plegall <plg@piwigo.org> | 2006-07-03 22:42:57 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2006-07-03 22:42:57 +0000 |
commit | e33c3b23c05ce6f94041aa07786592efe704a335 (patch) | |
tree | 6fcd1a7de7a8d75d12ebd00e7070cade3aaacb2f /include | |
parent | 7653c5435c2554697b6ff5e71c9b35e28527c2d4 (diff) |
bug 395 fixed: the upgrade feed can be performed only if PHPWG_IN_UPGRADE is
true.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1425 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 65782b282..0d0a05f20 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -132,7 +132,9 @@ or die ( "Could not connect to database server" ); mysql_select_db( $cfgBase ) or die ( "Could not connect to database" ); -if ($conf['check_upgrade_feed']) +if ($conf['check_upgrade_feed'] + and defined('PHPWG_IN_UPGRADE') + and PHPWG_IN_UPGRADE) { // retrieve already applied upgrades $query = ' |