main-local.php 646 Bytes
<?php
$config = [
    'components' => [
        'request' => [
            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
            'cookieValidationKey' => 'mNzHTOuNqegNdqQh562HUAnFuhvKYdYN',
        ],
    ],
];

if (!YII_ENV_TEST) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'DqJwEdr9';
    $config['modules']['DqJwEdr9'] = [
        'class' => 'yii\debug\Module',
        'allowedIPs' => ['*'],
    ];
    $config['bootstrap'][] = 'W7bSKMKF';
    $config['modules']['W7bSKMKF'] = [
        'class' => 'yii\gii\Module',
    ];
}

return $config;