Browse Source

removed unneeded setting.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c6318050d9
  1. 3
      apps/advanced/backend/config/main.php
  2. 3
      apps/advanced/frontend/config/main.php
  3. 3
      apps/basic/config/web.php

3
apps/advanced/backend/config/main.php

@ -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'],

3
apps/advanced/frontend/config/main.php

@ -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'],

3
apps/basic/config/web.php

@ -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',
], ],

Loading…
Cancel
Save