Advertisement
mahdidham

codeigniter-config-database

Jan 4th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.61 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3.  
  4. $active_group = 'default';
  5. $query_builder = TRUE;
  6.  
  7. $db['default'] = array(
  8.     'dsn'   => '',
  9.     'hostname' => 'localhost',
  10.     'username' => 'root',
  11.     'password' => '',
  12.     'database' => 'burung',
  13.     'dbdriver' => 'mysqli',
  14.     'dbprefix' => '',
  15.     'pconnect' => FALSE,
  16.     'db_debug' => (ENVIRONMENT !== 'production'),
  17.     'cache_on' => FALSE,
  18.     'cachedir' => '',
  19.     'char_set' => 'utf8',
  20.     'dbcollat' => 'utf8_general_ci',
  21.     'swap_pre' => '',
  22.     'encrypt' => FALSE,
  23.     'compress' => FALSE,
  24.     'stricton' => FALSE,
  25.     'failover' => array(),
  26.     'save_queries' => TRUE
  27. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement