1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php /** @file */ require_once('include/cli_startup.php'); function poller_run($argc,$argv){ cli_startup(); \Zotlabs\Daemon\Master::Summon('Cron'); } if (array_search(__file__,get_included_files())===0){ poller_run($argc,$argv); killme(); }