diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-23 23:23:57 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2016-03-23 23:23:57 +0100 |
commit | 506aa35bd753d3560df8031cff136a1a90d4db76 (patch) | |
tree | a4d217f8663f778f16d0f2e52969df504f88a5d0 /framework/PradoBase.php | |
parent | f6c07c47e5d3a73db91318dab1dab2c3e0f4f8dd (diff) |
Avoid double error report
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r-- | framework/PradoBase.php | 4 |
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); } /** |