[Solar-talk] SQLite Adapter
Paul M Jones
pmjones at solarphp.com
Tue Sep 26 07:46:27 PDT 2006
On Sep 26, 2006, at 9:37 AM, Michael Caplan wrote:
> My Solar pear install came with a sample Solar.config.php file
> (which I assume is the one that should be used for the bundled
> apps). It's DB config is listed as such:
>
> /**
> * Default database connection.
> */
> $config['Solar_Sql'] = array(
> 'adapter' => 'Solar_Sql_adapter_Sqlite',
> 'config' => array(
> 'file' => "$docroot/solar.sqlite",
> 'mode' => '0666',
> )
> );
>
> Also, besides "file" needing to be changed to "name", the adapter
> defined is not right. It should be
> 'Solar_Sql_Adapter_Sqlite' (capital Adapter).
Good catches! Can you enter those as bug reports of type "code"?
Don't want to forget them.
Thanks man. :-)
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list