|
|
@@ -19,6 +19,12 @@ $config = [
|
|
|
// return Yii::$app->controller->redirect(['/site/maintenance']);
|
|
|
// }
|
|
|
// },
|
|
|
+ 'aliases' => [
|
|
|
+ '@bower' => '@vendor/bower-asset', // путь к bower-пакетам
|
|
|
+ '@npm' => '@vendor/npm-asset', // путь к npm-пакетам
|
|
|
+ '@webroot' => dirname(__DIR__) . '/web', // корень веб
|
|
|
+ '@web' => '',
|
|
|
+ ],
|
|
|
'components' => [
|
|
|
'templater' => [
|
|
|
'class' => 'app\components\Templater',
|
|
|
@@ -38,7 +44,7 @@ $config = [
|
|
|
],
|
|
|
],
|
|
|
'request' => [
|
|
|
- 'cookieValidationKey' => '2Q3pzGXlQIxOPm1TyemO0YlVF1ylwRSm',
|
|
|
+ 'cookieValidationKey' => '2Q3pzGXlQIxOPm1TyemO0YlVF1ylwRSmZz',
|
|
|
'baseUrl' => '',
|
|
|
'parsers' => ['application/json' => 'yii\web\JsonParser',], // for rest api
|
|
|
],
|