= 0) { ob_start(); define('StartTime',microtime(true)); define('TIMESTAMP',time()); try { init_request(); Log::record(request_helper::req_uri(),Log::DEBUG); $file = request_helper::script_file(); if(file_exists($file)) { if(pays_execute($file)) { echo("Content-Type: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8; charset=UTF-8\r\n\r\n"); include $file; } else { echo("Content-Type: text/html; charset=UTF-8\r\n\r\n"); Base::mobile_control(); } } } catch (Exception $ex) { joutput_error($ex->getCode(),$ex->getMessage().'@@@@@'.$ex->getTraceAsString()); } $contents = ob_get_clean(); fcgi_echo($contents); Log::record($contents,Log::DEBUG); fcgi_finish(); } fcgi_fini(); } run_fcgi(); ?>