Pārlūkot izejas kodu

Make exception handler PHP5 / PHP7 agnostic.

pull/89/head
Benjamin Southall pirms 7 gadiem
vecāks
revīzija
5296f2a784
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      inc/error.php

+ 1
- 1
inc/error.php Parādīt failu

@@ -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());
}



Notiek ielāde…
Atcelt
Saglabāt