public function postDispatch() { // run internal cron scheduler if (SystemPref::Get('ExternalCronManagement') == 'N') { camp_cron(); } }
//} //$content .= "</html>\n"; echo $content; camp_html_clear_msgs(true); } elseif (file_exists($Campsite['HTML_DIR'] . "/$ADMIN_DIR/$call_script")) { readfile($Campsite['HTML_DIR'] . "/$ADMIN_DIR/$call_script"); } else { header("HTTP/1.1 404 Not found"); exit; } // run internal cron scheduler if (SystemPref::Get('ExternalCronManagement') == 'N') { flush(); camp_cron(); } /** * Sets a user-defined error function. * * The function set_error_handler() works differently in PHP 4 & 5. * This function is a wrapper interface, to both versions of * set_error_handler. * * @param $p_function The function to execute on error * @return void */ function camp_set_error_handler($p_function) { // --- In PHP 5, the error handler-default is set at E_STRICT,