ajout SAE PHP 19/20 Meilleure note de la promo
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
// Typical Database configuration
|
||||
'pdo/sqlite' => array(
|
||||
'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => 'sqlite',
|
||||
'dbdriver' => 'pdo',
|
||||
'subdriver' => 'sqlite'
|
||||
),
|
||||
|
||||
// Database configuration with failover
|
||||
'pdo/sqlite_failover' => array(
|
||||
'dsn' => 'sqlite:not_exists.sqlite',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => 'sqlite',
|
||||
'dbdriver' => 'pdo',
|
||||
'subdriver' => 'sqlite',
|
||||
'failover' => array(
|
||||
array(
|
||||
'dsn' => 'sqlite:/'.realpath(__DIR__.'/../..').'/ci_test.sqlite',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'sqlite',
|
||||
'password' => 'sqlite',
|
||||
'database' => 'sqlite',
|
||||
'dbdriver' => 'pdo',
|
||||
'subdriver' => 'sqlite'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user