From 13e8db61b9af26ef0f81bfcd8b1ebe100e9f1640 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 27 May 2015 15:01:55 +0300 Subject: [ci skip] Default 'db_debug' value to depend on ENVIRONMENT setting Related: #3884 --- application/config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application') diff --git a/application/config/database.php b/application/config/database.php index 925b3e504..fc3a5e5b6 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -71,7 +71,7 @@ $db['default'] = array( 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, - 'db_debug' => TRUE, + 'db_debug' => (ENVIRONMENT !== 'production'), 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', -- cgit v1.2.3-24-g4f1b