|
|
@ -11,12 +11,12 @@ $params = array_merge( |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
'id' => 'app-frontend', |
|
|
|
'id' => 'app-frontend', |
|
|
|
'basePath' => dirname(__DIR__), |
|
|
|
'basePath' => dirname(__DIR__), |
|
|
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', |
|
|
|
'vendorPath' => $rootDir . '/vendor', |
|
|
|
'controllerNamespace' => 'frontend\controllers', |
|
|
|
'controllerNamespace' => 'frontend\controllers', |
|
|
|
'modules' => [ |
|
|
|
'modules' => [ |
|
|
|
'gii' => 'yii\gii\Module' |
|
|
|
'gii' => 'yii\gii\Module' |
|
|
|
], |
|
|
|
], |
|
|
|
'extensions' => require(__DIR__ . '/../../vendor/yiisoft/extensions.php'), |
|
|
|
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'), |
|
|
|
'components' => [ |
|
|
|
'components' => [ |
|
|
|
'request' => [ |
|
|
|
'request' => [ |
|
|
|
'enableCsrfValidation' => true, |
|
|
|
'enableCsrfValidation' => true, |
|
|
|