mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 13:57:50 +08:00
removed unneeded setting.
This commit is contained in:
@@ -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 [
|
|||||||
],
|
],
|
||||||
'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 = [
|
|||||||
'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',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user