- Patch #644814 by Stefan Freudenberg: improved SQLite setup documentation

merge-requests/26/head
Dries Buytaert 2009-11-28 08:51:09 +00:00
parent a9662c4d54
commit 18710e71eb
1 changed files with 4 additions and 3 deletions

View File

@ -67,8 +67,9 @@
* connection should use. This is usually the same as the name of the * connection should use. This is usually the same as the name of the
* database type, such as mysql or sqlite, but not always. The other * database type, such as mysql or sqlite, but not always. The other
* properties will vary depending on the driver. For SQLite, you must * properties will vary depending on the driver. For SQLite, you must
* specify a database. For most other drivers, you must specify a username, * specify a database file name in a directory that is writable by the
* password, host, and database name. * webserver. For most other drivers, you must specify a
* username, password, host, and database name.
* *
* Some database engines support transactions. In order to enable * Some database engines support transactions. In order to enable
* transaction support for a given database, set the 'transactions' key * transaction support for a given database, set the 'transactions' key
@ -147,7 +148,7 @@
* ); * );
* $databases['default']['default'] = array( * $databases['default']['default'] = array(
* 'driver' => 'sqlite', * 'driver' => 'sqlite',
* 'database' => 'databasefilename', * 'database' => '/path/to/databasefilename',
* ); * );
*/ */
$databases = array(); $databases = array();