Make exception handler PHP5 / PHP7 agnostic.

This commit is contained in:
Benjamin Southall 2017-03-24 18:49:04 +09:00
parent 9b9b0f0a7e
commit 5296f2a784

View File

@ -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());
}