Browse Source

Make exception handler PHP5 / PHP7 agnostic.

pull/89/head
Benjamin Southall 7 years ago
parent
commit
5296f2a784
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      inc/error.php

+ 1
- 1
inc/error.php 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());
}



Loading…
Cancel
Save