]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions.php
Refactured handling of socket errors, old code is commeted out and will be removed...
[hub.git] / application / hub / exceptions.php
index f219040e6fdb52844ec8e15c0c8c1844df06da30..db2f3c44c6f7dae28a7b7c686ae265e64ca93cb9 100644 (file)
@@ -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]