/** * 输出错误信息 */ function Display() { if (!headers_sent()) { Http500(); ob_clean(); } require dirname(__FILE__) . '/../defend/error.html'; RunTime(); die; }
/** * 输出错误信息 */ public function Display() { if (!headers_sent()) { Http500(); ob_clean(); } foreach ($GLOBALS['hooks']['Filter_Plugin_Debug_Display'] as $fpname => &$fpsignal) { $fpsignal = PLUGIN_EXITSIGNAL_NONE; $fpreturn = $fpname($this); if ($fpsignal == PLUGIN_EXITSIGNAL_RETURN) { return $fpreturn; } } require dirname(__FILE__) . '/../defend/error.php'; RunTime(); /** * ``flush()`` and ``exit($errorCode)`` is for HHVM. * @link https://github.com/zblogcn/zblogphp/issues/32 */ flush(); exit(1); }
/** * 输出错误信息 */ function Display() { if (!headers_sent()) { Http500(); ob_clean(); } require dirname(__FILE__) . '/../defend/error.php'; RunTime(); /** * ``flush()`` and ``exit($errorCode)`` is for HHVM. * @link https://github.com/zblogcn/zblogphp/issues/32 */ flush(); exit(1); }
function Display() { Http500(); ob_end_clean(); $zbp = ZBlogPHP::GetInstance(); $zbp->StartGzip(); require $GLOBALS['blogpath'] . 'zb_system/defend/error.html'; }