/** * 例外エラーページの表示 * * @param string $debugMsg デバッグ用のメッセージ * @return void */ function sfDispException($debugMsg = null) { require_once CLASS_EX_REALDIR . 'page_extends/error/LC_Page_Error_SystemError_Ex.php'; $objPage = new LC_Page_Error_SystemError_Ex(); register_shutdown_function(array($objPage, 'destroy')); $objPage->init(); if (!is_null($debugMsg)) { $objPage->addDebugMsg($debugMsg); } if (function_exists("debug_backtrace")) { $objPage->backtrace = debug_backtrace(); } GC_Utils_Ex::gfPrintLog($objPage->sfGetErrMsg()); $objPage->process(); exit; }