Skip to content

Commit

Permalink
bug 861 completed: $conf['check_upgrade_feed'] is tested to allow this
Browse files Browse the repository at this point in the history
script execution.


git-svn-id: http://piwigo.org/svn/trunk@2645 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Oct 3, 2008
1 parent 54cf936 commit 606fb23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions upgrade_feed.php
Expand Up @@ -27,11 +27,18 @@
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
include_once(PHPWG_ROOT_PATH.'admin/include/functions_upgrade.php');
include(PHPWG_ROOT_PATH.'include/mysql.inc.php');
include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
@include(PHPWG_ROOT_PATH. 'include/config_local.inc.php');

// +-----------------------------------------------------------------------+
// | Check Access and exit when it is not ok |
// +-----------------------------------------------------------------------+

if (!$conf['check_upgrade_feed'])
{
die("upgrade feed is not active");
}

prepare_conf_upgrade();

define('PREFIX_TABLE', $prefixeTable);
Expand Down

0 comments on commit 606fb23

Please sign in to comment.