コード例 #1
0
ファイル: core_error.php プロジェクト: huming17/dzmvc
 public static function template_error($message, $tplname)
 {
     $message = lang('error', $message);
     $tplname = str_replace(core_ROOT, '', $tplname);
     $message = $message . ': ' . $tplname;
     core_error::system_error($message);
 }
コード例 #2
0
ファイル: class_core.php プロジェクト: huming17/dzmvc
 public static function handleShutdown()
 {
     if (($error = error_get_last()) && $error['type'] & DZF_CORE_DEBUG) {
         core_error::system_error($error['message'], false, true, false);
     }
 }
コード例 #3
0
ファイル: function_core.php プロジェクト: huming17/dzmvc
function system_error($message, $show = true, $save = true, $halt = true)
{
    core_error::system_error($message, $show, $save, $halt);
}