Changeset 18292


Ignore:
Timestamp:
2009/09/16 21:17:17 (15 years ago)
Author:
Seasoft
Message:

例外時のデバッグメッセージ表示に対応。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/util/SC_Utils.php

    r18282 r18292  
    135135     * 例外エラーページの表示 
    136136     * 
     137     * @param string $debugMsg デバッグ用のメッセージ 
    137138     * @return void 
    138139     */ 
    139     function sfDispException() { 
     140    function sfDispException($debugMsg = null) { 
    140141        require_once(CLASS_EX_PATH . "page_extends/error/LC_Page_Error_SystemError_Ex.php"); 
    141142         
     
    143144        register_shutdown_function(array($objPage, "destroy")); 
    144145        $objPage->init(); 
     146        if (!is_null($debugMsg)) { 
     147            $objPage->addDebugMsg($debugMsg); 
     148        } 
    145149        if (function_exists("debug_backtrace")) { 
    146150            $objPage->backtrace = debug_backtrace(); 
Note: See TracChangeset for help on using the changeset viewer.