mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 05:47:17 +08:00
removed unneeded setting.
This commit is contained in:
@@ -17,9 +17,6 @@ return [
|
||||
'modules' => [],
|
||||
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
'request' => [
|
||||
'enableCsrfValidation' => true,
|
||||
],
|
||||
'db' => $params['components.db'],
|
||||
'cache' => $params['components.cache'],
|
||||
'mail' => $params['components.mail'],
|
||||
|
||||
@@ -18,9 +18,6 @@ return [
|
||||
],
|
||||
'extensions' => require($rootDir . '/vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
'request' => [
|
||||
'enableCsrfValidation' => true,
|
||||
],
|
||||
'db' => $params['components.db'],
|
||||
'cache' => $params['components.cache'],
|
||||
'mail' => $params['components.mail'],
|
||||
|
||||
@@ -5,9 +5,6 @@ $config = [
|
||||
'basePath' => dirname(__DIR__),
|
||||
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
'request' => [
|
||||
'enableCsrfValidation' => true,
|
||||
],
|
||||
'cache' => [
|
||||
'class' => 'yii\caching\FileCache',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user