summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-11 18:02:49 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-11 18:08:37 +0200
commit599cf82ff710d01de97231e3fa73fff2b514708e (patch)
treec44033c525ed61445b2d0b469826cd3a015ffc2b /index.php
parent363379f815b51a4930395cfd701fd0b40e0d675a (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>
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6b00fa3cb..468be6552 100755
--- a/index.php
+++ b/index.php
@@ -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':