Make exception handler PHP5 / PHP7 agnostic.

This commit is contained in:
Benjamin Southall 2017-03-24 18:49:04 +09:00
parent 08f5412458
commit a247a3950b

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