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');