|
@@ -2,11 +2,10 @@
|
|
|
|
|
|
if (empty($_SERVER['argv'][1])) exit('Access Invalid!');
|
|
|
|
|
|
-defined('APP_ID') or define('APP_ID','crontab');
|
|
|
+define('APP_ID', 'crontab');
|
|
|
define('MOBILE_SERVER',true);
|
|
|
-
|
|
|
-defined('BASE_ROOT_PATH') or define('BASE_ROOT_PATH',str_replace('/crontab','',dirname(__FILE__)));
|
|
|
-defined('BASE_PATH') or define('BASE_PATH',BASE_ROOT_PATH . '/crontab');
|
|
|
+define('BASE_ROOT_PATH',str_replace('/crontab','',dirname(__FILE__)));
|
|
|
+define('BASE_PATH', BASE_ROOT_PATH . '/crontab');
|
|
|
|
|
|
require_once(BASE_ROOT_PATH . '/global.php');
|
|
|
require_once(BASE_ROOT_PATH . '/fooder.php');
|