aboutsummaryrefslogtreecommitdiff
path: root/lib/Exceptions.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Exceptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Exceptions.php b/lib/Exceptions.php
index acdb1b6..2e9109b 100644
--- a/lib/Exceptions.php
+++ b/lib/Exceptions.php
@@ -1,7 +1,7 @@
<?php
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
- if (ini_get('error_reporting') == 0)
+ if (error_reporting() == 0)
return;
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);