_config.php 426 Bytes
Newer Older
Mark committed
1 2 3
<?php

return yii\helpers\ArrayHelper::merge(
4 5 6 7 8 9 10 11 12 13 14 15
    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',
            ],
        ],
        'id' => 'app-common',
        'basePath' => dirname(__DIR__),
    ]
Mark committed
16
);