You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
644 B

9 years ago
<?php
$config = [
'sqlite' => [
'dsn' => 'sqlite::memory:',
],
'mysql' => [
'dsn' => 'mysql:host=localhost;dbname=test',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
'mssql' => [
'dsn' => 'sqlsrv:Server=localhost;Database=test',
'username' => '',
'password' => '',
],
'pgsql' => [
'dsn' => 'pgsql:host=localhost;dbname=test;port=5432;',
'username' => 'postgres',
'password' => 'postgres',
],
];
if (is_file(__DIR__ . '/config.local.php')) {
include(__DIR__ . '/config.local.php');
}
return $config;