blob: 755ce2a3ae7cac77161d66345b95471419a3c54d [file] [log] [blame]
Taufan Adityaee2f5d02012-03-30 06:29:11 +07001<?php
2
3return array(
Andrey Andreev6dfe76d2012-04-03 12:42:59 +03004
Taufan Adityaee2f5d02012-03-30 06:29:11 +07005 // Typical Database configuration
6 'sqlite' => array(
7 'dsn' => '',
8 'hostname' => 'localhost',
9 'username' => 'sqlite',
10 'password' => 'sqlite',
11 'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
Taufan Aditya61ff0542012-04-05 01:23:56 +070012 'dbdriver' => 'sqlite3',
Taufan Adityaee2f5d02012-03-30 06:29:11 +070013 ),
14
15 // Database configuration with failover
16 'sqlite_failover' => array(
17 'dsn' => '',
18 'hostname' => 'localhost',
19 'username' => 'sqlite',
20 'password' => 'sqlite',
21 'database' => '../not_exists.sqlite',
Taufan Aditya61ff0542012-04-05 01:23:56 +070022 'dbdriver' => 'sqlite3',
Taufan Adityaee2f5d02012-03-30 06:29:11 +070023 'failover' => array(
24 array(
25 'dsn' => '',
26 'hostname' => 'localhost',
27 'username' => 'sqlite',
28 'password' => 'sqlite',
Taufan Aditya55f80422012-04-05 01:48:52 +070029 'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
Taufan Aditya61ff0542012-04-05 01:23:56 +070030 'dbdriver' => 'sqlite3',
Taufan Adityaee2f5d02012-03-30 06:29:11 +070031 ),
32 ),
33 ),
34);