From 506aa35bd753d3560df8031cff136a1a90d4db76 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 23 Mar 2016 23:23:57 +0100 Subject: Avoid double error report --- framework/PradoBase.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'framework/PradoBase.php') 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); } /** -- cgit v1.2.3