echo "<h1>404 Not Found</h1>"; echo "The page that you have requested could not be found."; exit; } require_once dirname(__FILE__) . "/core.inc.php"; if (isset($argv)) { foreach ($argv as $arg) { $argList = explode('=', $arg); if (isset($argList[0]) && isset($argList[1])) { $_GET[$argList[0]] = $argList[1]; } } } set_time_limit(config::byKey('maxExecTimeScript', 60)); if (init('listener_id') == '') { foreach (cmd::byValue(init('event_id'), 'info') as $cmd) { $cmd->event($cmd->execute(), 2); } } else { try { $listener_id = init('listener_id'); if ($listener_id == '') { throw new Exception(__('Le listener ID ne peut être vide', __FILE__)); } $listener = listener::byId($listener_id); if (!is_object($listener)) { throw new Exception(__('Listener non trouvé : ', __FILE__) . $listener_id); } $option = array(); if (count($listener->getOption()) > 0) { $option = $listener->getOption();