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.
18 lines
356 B
18 lines
356 B
11 years ago
|
<?php
|
||
|
|
||
|
use yii\helpers\ArrayHelper;
|
||
|
|
||
|
// set correct script paths
|
||
|
$_SERVER['SCRIPT_FILENAME'] = TEST_ENTRY_FILE;
|
||
|
$_SERVER['SCRIPT_NAME'] = TEST_ENTRY_URL;
|
||
|
|
||
|
$config = require(__DIR__ . '/../../config/web.php');
|
||
|
|
||
|
return ArrayHelper::merge($config, [
|
||
|
'components' => [
|
||
|
'db' => [
|
||
|
'dsn' => 'mysql:host=localhost;dbname=yii2_basic_functional',
|
||
|
],
|
||
|
],
|
||
|
]);
|