X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Flfdb2%2Fexceptions.php;fp=application%2Flfdb2%2Fexceptions.php;h=24975ff32b37ce4d6c06044aced0ad1ccf0be6ab;hb=e6a7143107896cd55cbe777da471bd3b976d9d4f;hp=8e18482f80ec9e0baba1310174b371a5555ecd6a;hpb=18d6fa15110033b8e42a6b40a5ba1d454c7b234c;p=lfdb2.git diff --git a/application/lfdb2/exceptions.php b/application/lfdb2/exceptions.php index 8e18482..24975ff 100644 --- a/application/lfdb2/exceptions.php +++ b/application/lfdb2/exceptions.php @@ -1,6 +1,6 @@ * @version 0.0 @@ -22,7 +22,7 @@ */ // The node's own exception handler -function hub_exception_handler ($exceptionInstance) { +function lfdb2_exception_handler ($exceptionInstance) { // Is it an object and a valid instance? if ((is_object($exceptionInstance)) && ($exceptionInstance instanceof FrameworkException)) { // Init variable @@ -127,7 +127,7 @@ function __assertHandler ($file, $line, $code) { //set_error_handler('__errorHandler'); // Set the new handler -set_exception_handler('hub_exception_handler'); +set_exception_handler('lfdb2_exception_handler'); // Init assert handling assert_options(ASSERT_ACTIVE , TRUE); @@ -135,6 +135,3 @@ assert_options(ASSERT_WARNING , FALSE); assert_options(ASSERT_BAIL , TRUE); assert_options(ASSERT_QUIET_EVAL, FALSE); assert_options(ASSERT_CALLBACK , '__assertHandler'); - -// [EOF] -?>