Advertisement
kura2yamato

database.php

Feb 23rd, 2018
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.18 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' => 'root3',
  11.     'password' => '',
  12.     'database' => 'demo_gunawan',
  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. );
  28.  
  29. $db['main']=$db['default'];
  30. $db['main']['dbprefix']='v4t_';
  31.  
  32. $db['logs'] = array(
  33.     'dsn'   => '',
  34.     'hostname' => 'localhost',
  35.     'username' => 'root3',
  36.     'password' => '',
  37.     'database' => 'demo_gunawan',
  38.     'dbdriver' => 'mysqli',
  39.     'dbprefix' => 'zx_',
  40.     'pconnect' => FALSE,
  41.     'db_debug' => (ENVIRONMENT !== 'production'),
  42.     'cache_on' => FALSE,
  43.     'cachedir' => '',
  44.     'char_set' => 'utf8',
  45.     'dbcollat' => 'utf8_general_ci',
  46.     'swap_pre' => '',
  47.     'encrypt' => FALSE,
  48.     'compress' => FALSE,
  49.     'stricton' => FALSE,
  50.     'failover' => array(),
  51.     'save_queries' => TRUE
  52. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement