main-local.php 514 Bytes
Newer Older
1
<?php
Mark committed
2

3 4 5 6 7 8 9 10
$config = [
    'components' => [
        'request' => [
            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
            'cookieValidationKey' => '',
        ],
    ],
];
Mark committed
11 12

if (!YII_ENV_TEST) {
13
    // configuration adjustments for 'dev' environment
14
    $config['bootstrap'][] = 'debug';
15
    $config['modules']['debug'] = 'yii\debug\Module';
16 17

    $config['bootstrap'][] = 'gii';
18
    $config['modules']['gii'] = 'yii\gii\Module';
Mark committed
19 20 21
}

return $config;