mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
bug 861 completed: $conf['check_upgrade_feed'] is tested to allow this
script execution. git-svn-id: http://piwigo.org/svn/trunk@2645 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -27,11 +27,18 @@ include_once(PHPWG_ROOT_PATH.'include/functions.inc.php');
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user