[FIX] Helper script shared files
This commit is contained in:
parent
1456bd21ef
commit
299e062268
@ -35,7 +35,7 @@ if (SECHASH_CHECK) {
|
|||||||
|
|
||||||
// MODIFY THIS
|
// MODIFY THIS
|
||||||
// We need to find our include files so set this properly
|
// We need to find our include files so set this properly
|
||||||
define("BASEPATH", "../public/");
|
define("BASEPATH", dirname(__FILE__) . "/");
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* No need to change beyond this point *
|
* No need to change beyond this point *
|
||||||
@ -48,14 +48,8 @@ $dStartTime = microtime(true);
|
|||||||
$cron_name = basename($_SERVER['PHP_SELF'], '.php');
|
$cron_name = basename($_SERVER['PHP_SELF'], '.php');
|
||||||
|
|
||||||
// Include our configuration (holding defines for the requires)
|
// Include our configuration (holding defines for the requires)
|
||||||
require_once(BASEPATH . 'include/config/global.inc.dist.php');
|
require_once(BASEPATH . '../include/bootstrap.php');
|
||||||
require_once(BASEPATH . 'include/config/global.inc.php');
|
require_once(BASEPATH . '../include/version.inc.php');
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/config/security.inc.dist.php');
|
|
||||||
@include_once(BASEPATH . 'include/config/security.inc.php');
|
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/bootstrap.php');
|
|
||||||
require_once(BASEPATH . 'include/version.inc.php');
|
|
||||||
|
|
||||||
// Command line switches
|
// Command line switches
|
||||||
array_shift($argv);
|
array_shift($argv);
|
||||||
|
|||||||
@ -18,9 +18,8 @@ limitations under the License.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// MODIFY THIS
|
|
||||||
// We need to find our include files so set this properly
|
// We need to find our include files so set this properly
|
||||||
define("BASEPATH", "../public/");
|
define('BASEPATH', dirname(__FILE__) . '/');
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* No need to change beyond this point *
|
* No need to change beyond this point *
|
||||||
@ -40,14 +39,8 @@ if (SECHASH_CHECK) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Include our configuration (holding defines for the requires)
|
// Include our configuration (holding defines for the requires)
|
||||||
require_once(BASEPATH . 'include/config/global.inc.dist.php');
|
require_once(BASEPATH . '../include/bootstrap.php');
|
||||||
require_once(BASEPATH . 'include/config/global.inc.php');
|
require_once(BASEPATH . '../include/version.inc.php');
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/config/security.inc.dist.php');
|
|
||||||
@include_once(BASEPATH . 'include/config/security.inc.php');
|
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/bootstrap.php');
|
|
||||||
require_once(BASEPATH . 'include/version.inc.php');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Not used as of yet, may be added later
|
* Not used as of yet, may be added later
|
||||||
|
|||||||
@ -18,9 +18,8 @@ limitations under the License.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// MODIFY THIS
|
|
||||||
// We need to find our include files so set this properly
|
// We need to find our include files so set this properly
|
||||||
define("BASEPATH", "../public/");
|
define('BASEPATH', dirname(__FILE__) . '/');
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* No need to change beyond this point *
|
* No need to change beyond this point *
|
||||||
@ -40,12 +39,6 @@ if (SECHASH_CHECK) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Include our configuration (holding defines for the requires)
|
// Include our configuration (holding defines for the requires)
|
||||||
require_once(BASEPATH . 'include/config/global.inc.dist.php');
|
require_once(BASEPATH . '../include/bootstrap.php');
|
||||||
require_once(BASEPATH . 'include/config/global.inc.php');
|
require_once(BASEPATH . '../include/version.inc.php');
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/config/security.inc.dist.php');
|
|
||||||
@include_once(BASEPATH . 'include/config/security.inc.php');
|
|
||||||
|
|
||||||
require_once(BASEPATH . 'include/bootstrap.php');
|
|
||||||
require_once(BASEPATH . 'include/version.inc.php');
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user