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);
}