瀏覽代碼

add to local

stanley-king 8 年之前
父節點
當前提交
0367a9bef2
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      crontab/index.php

+ 5 - 0
crontab/index.php

@@ -6,6 +6,11 @@
  * 计划任务触发 by abc.com
  */
 
+define('BASE_ROOT_PATH',str_replace('/crontab','',dirname(__FILE__)));
+//define('BASE_ROOT_PATH',str_replace('/crontab','/',dirname(__FILE__)));
+
+
+
 if (empty($_SERVER['argv'][1])) exit('Access Invalid!');
 
 define('APP_ID','crontab');