diff options
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 = ' |