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
This commit is contained in:
parent
7653c5435c
commit
e33c3b23c0
1 changed files with 3 additions and 1 deletions
|
@ -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 = '
|
||||
|
|
Loading…
Add table
Reference in a new issue