summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',