bomp to 2.1.0

fix bug
This commit is contained in:
岳松
2013-08-25 18:31:23 +08:00
parent 047cf974e6
commit 0153b4b632
4 changed files with 54 additions and 57 deletions

View File

@@ -5,17 +5,13 @@
*/
ignore_user_abort(true);
set_time_limit(0);
require_once('../../../init.php');
if (!defined('EMLOG_ROOT')) {
require_once('../../../init.php');
}
do {
clearstatcache();
$run = EMLOG_ROOT.'/content/plugins/autopub/autopub_cron_pid.php';
if(!file_exists($run)) die('do nothing');
doPub();
sleep(30);
} while (true);
?>
clearstatcache();
$run = EMLOG_ROOT.'/content/plugins/autopub/autopub_cron_pid.php';
if(!file_exists($run)) die('do nothing');
doPub();
sleep(30);
} while (true);