| Current Path : /var/www/html/mtdc/frontend/config/ |
| Current File : /var/www/html/mtdc/frontend/config/main-local.php.backup.20210329 |
<?php
$config = [
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'cookieValidationKey' => 'pKiL43-7996PqZECbNYw3HI0FGvM2pCH',
],
],
];
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['*']
];
}
return $config;