2013-12-28 15:04:08 -05:00
|
|
|
<?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',
|
|
|
|
],
|
2013-12-29 10:31:34 -05:00
|
|
|
'urlManager' => [
|
|
|
|
'showScriptName' => true,
|
|
|
|
],
|
2013-12-28 15:04:08 -05:00
|
|
|
],
|
|
|
|
]);
|