blob: d37ee48713a3a7281f7e0ad38dd937ec6e8a1df2 [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',
Andrey Andreevf243ce12012-06-09 23:34:21 +030012 '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',
Andrey Andreevf243ce12012-06-09 23:34:21 +030030 'dbdriver' => 'sqlite3'
31 )
32 )
33 )
Taufan Adityaee2f5d02012-03-30 06:29:11 +070034);