blob: cf428f473a6e012728b0b90ae4fa094b320e9d3c [file] [log] [blame]
Taufan Adityaee2f5d02012-03-30 06:29:11 +07001<?php
2
3return array(
4
5 // Typical Database configuration
6 'sqlite' => array(
7 'dsn' => '',
8 'hostname' => 'localhost',
9 'username' => 'sqlite',
10 'password' => 'sqlite',
11 'database' => realpath(__DIR__.'/..').'/ci_test.sqlite',
12 'dbdriver' => 'sqlite',
13 ),
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',
22 'dbdriver' => 'sqlite',
23 'failover' => array(
24 array(
25 'dsn' => '',
26 'hostname' => 'localhost',
27 'username' => 'sqlite',
28 'password' => 'sqlite',
29 'database' => realpath(__DIR__.'/..').'/ci_testf.sqlite',
30 'dbdriver' => 'sqlite',
31 ),
32 ),
33 ),
34);