summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
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);
}
/**