diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-09-11 18:02:49 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-09-11 18:08:37 +0200 |
commit | 599cf82ff710d01de97231e3fa73fff2b514708e (patch) | |
tree | c44033c525ed61445b2d0b469826cd3a015ffc2b | |
parent | 363379f815b51a4930395cfd701fd0b40e0d675a (diff) |
use system wide error_reporting value
We shouldn't mess with that when it's already set in php.ini.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,12 +28,12 @@ * By default development will show errors but testing and live will hide them. */ -if (defined('ENVIRONMENT')) +if (false && defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': - error_reporting(E_ALL ^ E_NOTICE); + error_reporting(E_ALL); break; case 'testing': |