diff --git a/index.php b/index.php index 1f5f6117..a2660d2d 100755 --- a/index.php +++ b/index.php @@ -18,7 +18,7 @@ * NOTE: If you change these, also change the error_reporting() code below * */ - define('ENVIRONMENT', 'development'); + define('ENVIRONMENT', 'production'); /* *--------------------------------------------------------------- * ERROR REPORTING @@ -27,16 +27,15 @@ * Different environments will require different levels of error reporting. * By default development will show errors but testing and live will hide them. */ - if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': - error_reporting(0); - break; - case 'testing': + error_reporting(E_ALL); + break; + case 'production': error_reporting(0); break; @@ -45,7 +44,6 @@ if (defined('ENVIRONMENT')) exit('The application environment is not set correctly.'); } } - /* *--------------------------------------------------------------- * SYSTEM FOLDER NAME @@ -202,4 +200,4 @@ if (defined('ENVIRONMENT')) require_once BASEPATH.'core/CodeIgniter.php'; /* End of file index.php */ -/* Location: ./index.php */ +/* Location: ./index.php */ \ No newline at end of file