blob: 1e5043b0084d6084490c60826a03d1394b00d226 [file] [log] [blame]
Taufan Aditya44015c82012-04-04 19:38:16 +07001<?php
2
3return array(
4
5 // Typical Database configuration
6 'pdo/sqlite' => array(
7 'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/ci_test.sqlite',
8 'dbdriver' => 'pdo',
Taufan Adityaf4c6c9b2012-04-04 23:24:09 +07009 'pdodriver' => 'sqlite',
Taufan Aditya44015c82012-04-04 19:38:16 +070010 ),
11
12 // Database configuration with failover
13 'pdo/sqlite_failover' => array(
14 'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/not_exists.sqlite',
15 'dbdriver' => 'pdo',
Taufan Adityaf4c6c9b2012-04-04 23:24:09 +070016 'pdodriver' => 'sqlite',
Taufan Aditya44015c82012-04-04 19:38:16 +070017 'failover' => array(
18 array(
19 'dsn' => 'sqlite:/'.realpath(__DIR__.'/..').'/ci_test.sqlite',
20 'dbdriver' => 'pdo',
Taufan Adityaf4c6c9b2012-04-04 23:24:09 +070021 'pdodriver' => 'sqlite',
Taufan Aditya44015c82012-04-04 19:38:16 +070022 ),
23 ),
24 ),
25);