aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade_feed.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--upgrade_feed.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/upgrade_feed.php b/upgrade_feed.php
index ab89a050b..1d04ba650 100644
--- a/upgrade_feed.php
+++ b/upgrade_feed.php
@@ -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);