From a497d9910664249b7ebe6c1354ac755c7ce6df60 Mon Sep 17 00:00:00 2001 From: Terry <2358269014@qq.com> Date: Wed, 9 May 2018 16:17:02 +0800 Subject: [PATCH] update --- FecadminbaseController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FecadminbaseController.php b/FecadminbaseController.php index 9f2cae7..0f11c2a 100644 --- a/FecadminbaseController.php +++ b/FecadminbaseController.php @@ -26,6 +26,8 @@ */ class FecadminbaseController extends FecController { + public $enableCsrfValidation = false; + public function getViewPath() { return Yii::getAlias('@fecadmin/views') . DIRECTORY_SEPARATOR . $this->id;