Ignore:
Timestamp:
Oct 3, 2008, 10:50:38 PM (16 years ago)
Author:
plg
Message:

bug 861 completed: $confcheck_upgrade_feed is tested to allow this
script execution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upgrade_feed.php

    r2625 r2645  
    2828include_once(PHPWG_ROOT_PATH.'admin/include/functions_upgrade.php');
    2929include(PHPWG_ROOT_PATH.'include/mysql.inc.php');
     30include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
     31@include(PHPWG_ROOT_PATH. 'include/config_local.inc.php');
    3032
    3133// +-----------------------------------------------------------------------+
    3234// | Check Access and exit when it is not ok                               |
    3335// +-----------------------------------------------------------------------+
     36
     37if (!$conf['check_upgrade_feed'])
     38{
     39  die("upgrade feed is not active");
     40}
    3441
    3542prepare_conf_upgrade();
Note: See TracChangeset for help on using the changeset viewer.