// Set the current path
// Done this way so that it works in CLI PHP
$path = dirname(__FILE__);
// Require the timezone class, and get the system timezone,
// storing in a global variable
global $serverTimezone;
$serverTimezone = OX_Admin_Timezones::getTimezone();
// Set longer time out, and ignore user abort
if (!ini_get('safe_mode')) {
@set_time_limit($conf['maintenance']['timeLimitScripts']);
@ignore_user_abort(true);
}
- MAX_PATH . '/lib/Max.php';
- OX_PATH . '/lib/OX.php';
- LIB_PATH . '/Maintenance.php';
$oMaint = new OX_Maintenance();
$oMaint->run();
// Update scheduled maintenance last run record
$oMaint->updateLastRun(true);
最終更新:2011年05月02日 00:16