Commit c6318050 by Qiang Xue

removed unneeded setting.

parent 0b13c434
...@@ -17,9 +17,6 @@ return [ ...@@ -17,9 +17,6 @@ return [
'modules' => [], 'modules' => [],
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'), 'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
'components' => [ 'components' => [
'request' => [
'enableCsrfValidation' => true,
],
'db' => $params['components.db'], 'db' => $params['components.db'],
'cache' => $params['components.cache'], 'cache' => $params['components.cache'],
'mail' => $params['components.mail'], 'mail' => $params['components.mail'],
......
...@@ -18,9 +18,6 @@ return [ ...@@ -18,9 +18,6 @@ return [
], ],
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'), 'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
'components' => [ 'components' => [
'request' => [
'enableCsrfValidation' => true,
],
'db' => $params['components.db'], 'db' => $params['components.db'],
'cache' => $params['components.cache'], 'cache' => $params['components.cache'],
'mail' => $params['components.mail'], 'mail' => $params['components.mail'],
......
...@@ -5,9 +5,6 @@ $config = [ ...@@ -5,9 +5,6 @@ $config = [
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'), 'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
'components' => [ 'components' => [
'request' => [
'enableCsrfValidation' => true,
],
'cache' => [ 'cache' => [
'class' => 'yii\caching\FileCache', 'class' => 'yii\caching\FileCache',
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment