From c6318050d99044a2714ad1a72c8021f20a725d62 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 24 Nov 2013 21:29:11 -0500 Subject: [PATCH] removed unneeded setting. --- apps/advanced/backend/config/main.php | 3 --- apps/advanced/frontend/config/main.php | 3 --- apps/basic/config/web.php | 3 --- 3 files changed, 9 deletions(-) diff --git a/apps/advanced/backend/config/main.php b/apps/advanced/backend/config/main.php index f2745e2..c745a1f 100644 --- a/apps/advanced/backend/config/main.php +++ b/apps/advanced/backend/config/main.php @@ -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'], diff --git a/apps/advanced/frontend/config/main.php b/apps/advanced/frontend/config/main.php index e0fd2de..6ee8ae5 100644 --- a/apps/advanced/frontend/config/main.php +++ b/apps/advanced/frontend/config/main.php @@ -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'], diff --git a/apps/basic/config/web.php b/apps/basic/config/web.php index cf921b0..6124c4f 100644 --- a/apps/basic/config/web.php +++ b/apps/basic/config/web.php @@ -5,9 +5,6 @@ $config = [ 'basePath' => dirname(__DIR__), 'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'), 'components' => [ - 'request' => [ - 'enableCsrfValidation' => true, - ], 'cache' => [ 'class' => 'yii\caching\FileCache', ],