ソースを参照

Make exception handler PHP5 / PHP7 agnostic.

pull/89/head
Benjamin Southall 7年前
コミット
5296f2a784
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      inc/error.php

+ 1
- 1
inc/error.php ファイルの表示

@@ -8,7 +8,7 @@ function error_handler($errno,$errstr,$errfile, $errline, $errcontext){
return false;
}

function exception_handler(Exception $e){
function exception_handler($e){
error($e->getMessage());
}



読み込み中…
キャンセル
保存