|
@@ -0,0 +1,25 @@
|
|
|
|
|
+<?php
|
|
|
|
|
+
|
|
|
|
|
+$config = [
|
|
|
|
|
+ 'components' => [
|
|
|
|
|
+ 'request' => [
|
|
|
|
|
+ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
|
|
|
|
|
+ 'cookieValidationKey' => 'jagArU5UunwUflL8HPZx_jV950RvQrcV6',
|
|
|
|
|
+ ],
|
|
|
|
|
+ ],
|
|
|
|
|
+];
|
|
|
|
|
+
|
|
|
|
|
+if (YII_ENV_DEV) {
|
|
|
|
|
+ // 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',
|
|
|
|
|
+ ];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+return $config;
|