From 123cb25bf5edbf0ef7699094b07cb39de598227c Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Fri, 11 Nov 2016 13:11:44 +0000 Subject: [PATCH] Set the code to production not development (suppresses PHP errors) (#965) --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 2c44f033f..3f9fbbe7e 100644 --- a/public/index.php +++ b/public/index.php @@ -53,7 +53,7 @@ * * NOTE: If you change these, also change the error_reporting() code below */ - define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); + define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production'); /* *---------------------------------------------------------------