Created
November 25, 2012 04:30
-
-
Save seiichi/4142401 to your computer and use it in GitHub Desktop.
getting sqlite to work with fuelphp
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
// works with FuelPHP 1.4 | |
return array( | |
'default' => array( | |
'type' => 'pdo', | |
'connection' => array( | |
'dsn' => 'sqlite:/PATH/TO/DATABASE_FILE', | |
'username' => '', | |
'password' => '', | |
), | |
'charset' => NULL, /* http://stackoverflow.com/questions/263056/how-to-change-character-encoding-of-a-pdo-sqlite-connection-in-php */ | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment