Created
July 25, 2012 16:36
-
-
Save asbarron/3177121 to your computer and use it in GitHub Desktop.
How to configure CodeIgniter 2.1.2 with SQLite3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SQLite3 config for PDO */ | |
$db['default'] = array ( | |
'dsn' => 'sqlite:'. FCPATH.'virtTour_original.sqlite', //Change this to the path of your db file | |
'hostname' => '', | |
'username' => '', | |
'password' => '', | |
'dbdriver' => 'pdo', | |
'dbprefix' => '', | |
'pconnect' => FALSE, | |
'db_debug' => TRUE, | |
'cache_on' => FALSE, | |
'cachedir' => '', | |
'char_set' => 'utf8', | |
'dbcollat' => 'utf8_general_ci', | |
'swap_pre' => '', | |
'autoinit' => TRUE, | |
'stricton' => FALSE, | |
'failover' => array() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment