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.
|
|
|
<?php
|
|
|
|
|
|
|
|
return array(
|
|
|
|
//'appClass' => '\yii\web\Application',
|
|
|
|
'appClass' => '\yii\console\Application',
|
|
|
|
'databases' => array(
|
|
|
|
'mysql' => array(
|
|
|
|
'dsn' => 'mysql:host=127.0.0.1;dbname=yiitest',
|
|
|
|
'username' => 'travis',
|
|
|
|
'password' => '',
|
|
|
|
'fixture' => __DIR__ . '/mysql.sql',
|
|
|
|
),
|
|
|
|
'sqlite' => array(
|
|
|
|
'dsn' => 'sqlite::memory:',
|
|
|
|
'fixture' => __DIR__ . '/sqlite.sql',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'redis' => array(
|
|
|
|
'dsn' => 'redis://localhost:6379/0',
|
|
|
|
'password' => null,
|
|
|
|
// 'fixture' => __DIR__ . '/mysql.sql',
|
|
|
|
),
|
|
|
|
);
|