summaryrefslogtreecommitdiffstats
path: root/application/config/database.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-05-27 14:01:55 +0200
committerAndrey Andreev <narf@devilix.net>2015-05-27 14:01:55 +0200
commit13e8db61b9af26ef0f81bfcd8b1ebe100e9f1640 (patch)
tree3fe59036f8cd342eead74b86510c2567390ddb63 /application/config/database.php
parentcf4cb7d6d6ef70d2096193acca8ccecf74487799 (diff)
[ci skip] Default 'db_debug' value to depend on ENVIRONMENT setting
Related: #3884
Diffstat (limited to 'application/config/database.php')
-rw-r--r--application/config/database.php2
1 files changed, 1 insertions, 1 deletions
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',