Browse Source

Make exception handler PHP5 / PHP7 agnostic.

pull/40/head
Benjamin Southall 7 years ago
parent
commit
5296f2a784
  1. 2
      inc/error.php

2
inc/error.php

@ -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…
Cancel
Save