-
-
Save mazhar266/a4876a03ff1777553dc9fa5d6a0db12b 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