summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-03-23 23:23:57 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-03-23 23:23:57 +0100
commit506aa35bd753d3560df8031cff136a1a90d4db76 (patch)
treea4d217f8663f778f16d0f2e52969df504f88a5d0 /framework/PradoBase.php
parentf6c07c47e5d3a73db91318dab1dab2c3e0f4f8dd (diff)
Avoid double error report
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index 196e82e3..2c5b2649 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -91,6 +91,10 @@ class PradoBase
* Sets exception handler to be Prado::exceptionHandler
*/
set_exception_handler(array('PradoBase','exceptionHandler'));
+ /**
+ * Disable php's builtin error reporting to avoid duplicated reports
+ */
+ ini_set('display_errors', 0);
}
/**