formatHTMLBlock() 공개 정적인 메소드

public static formatHTMLBlock ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2, $inc_css = true )
$e Exception
예제 #1
0
파일: gitblog.php 프로젝트: rsms/gitblog
function gb_exception_handler($e)
{
    if (ini_get('html_errors')) {
        if (headers_sent()) {
            $msg = GBException::formatHTMLBlock($e);
        } else {
            $msg = GBException::formatHTMLDocument($e);
        }
    } else {
        $msg = GBException::format($e, true, false, null, 0);
    }
    exit($msg);
}