X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fexceptions.php;h=340266b067dea208f239b04b44fcf38be8a3a355;hb=5800ec58d99f23058e21881df55792149caefa12;hp=f219040e6fdb52844ec8e15c0c8c1844df06da30;hpb=81c90916f7a908c77f8844dff5adc6fae3aed422;p=hub.git diff --git a/application/hub/exceptions.php b/application/hub/exceptions.php index f219040e6..340266b06 100644 --- a/application/hub/exceptions.php +++ b/application/hub/exceptions.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0 - * @copyright Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2011 Hub Developer Team + * @copyright Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2012 Hub Developer Team * @license GNU GPL 3.0 or any newer version * * This program is free software: you can redistribute it and/or modify @@ -132,10 +132,10 @@ function __assertHandler ($file, $line, $code) { set_exception_handler('hub_exception_handler'); // Init assert handling -assert_options(ASSERT_ACTIVE, 1); -assert_options(ASSERT_WARNING, 0); -assert_options(ASSERT_BAIL, 0); -assert_options(ASSERT_QUIET_EVAL, 0); +assert_options(ASSERT_ACTIVE, true); +assert_options(ASSERT_WARNING, false); +assert_options(ASSERT_BAIL, false); +assert_options(ASSERT_QUIET_EVAL, false); assert_options(ASSERT_CALLBACK, '__assertHandler'); // [EOF]