summaryrefslogtreecommitdiffstats
path: root/application/config/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/config/database.php')
-rw-r--r--application/config/database.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/config/database.php b/application/config/database.php
index 925b3e504..84aab9169 100644
--- a/application/config/database.php
+++ b/application/config/database.php
@@ -58,7 +58,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| The $query_builder variables lets you determine whether or not to load
| the query builder class.
*/
-
$active_group = 'default';
$query_builder = TRUE;
@@ -71,7 +70,7 @@ $db['default'] = array(
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
- 'db_debug' => TRUE,
+ 'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',