[ 'request' => [ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation 'cookieValidationKey' => 'o83yA7NsYp3sNfG9AjO8hbXq5ejTAvyt', ], ], ]; if (YII_ENV_DEV) { // configuration adjustments for 'dev' environment $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', 'panels' => [ 'httpClient' => ['class' => 'yii\httpclient\debug\HttpClientPanel'], ], // 'allowedIPs' => ['127.0.0.1', '192.168.1.*'], ]; $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', // 'allowedIPs' => ['127.0.0.1', '192.168.1.*'], ]; } return $config;