diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-24 18:49:04 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2017-03-24 18:49:04 +0900 |
| commit | 5296f2a7848c848a32b97011cc24ff3f7a69fbf1 (patch) | |
| tree | 0cc6400cc68a6eae64cf0cadc053724c23ad1a4b /inc/error.php | |
| parent | 9b9b0f0a7e19b8491c8abb4a0b9d5f4187b51976 (diff) | |
Make exception handler PHP5 / PHP7 agnostic.
Diffstat (limited to 'inc/error.php')
| -rw-r--r-- | inc/error.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/error.php b/inc/error.php index da707911..1f66b977 100644 --- a/inc/error.php +++ b/inc/error.php @@ -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()); } |
