forked from leftypol/leftypol
Make exception handler PHP5 / PHP7 agnostic.
This commit is contained in:
parent
08f5412458
commit
a247a3950b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue