Преглед изворни кода

Make exception handler PHP5 / PHP7 agnostic.

pull/89/head
Benjamin Southall пре 7 година
родитељ
комит
5296f2a784
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      inc/error.php

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



Loading…
Откажи
Сачувај