_config.php 480 Bytes
Newer Older
1 2 3
<?php

return yii\helpers\ArrayHelper::merge(
4 5 6 7 8 9 10 11 12 13 14 15
    require(__DIR__ . '/../../../common/config/main.php'),
    require(__DIR__ . '/../../../common/config/main-local.php'),
    require(__DIR__ . '/../../config/main.php'),
    require(__DIR__ . '/../../config/main-local.php'),
    require(__DIR__ . '/../_config.php'),
    [
        'components' => [
            'db' => [
                'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_unit',
            ],
        ],
    ]
16
);