Make exception handler PHP5 / PHP7 agnostic.
This commit is contained in:
parent
9b9b0f0a7e
commit
5296f2a784
@ -8,7 +8,7 @@ function error_handler($errno,$errstr,$errfile, $errline, $errcontext){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function exception_handler(Exception $e){
|
function exception_handler($e){
|
||||||
error($e->getMessage());
|
error($e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user