标签:
‘components‘ => [
‘request‘ => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
‘cookieValidationKey‘ => ‘test‘, //这里配置秘钥字符串就不会报错了
]
]
yii2.0 报错Cookievalidationkey Must Be Configured With A Secret Key
标签:
原文地址:http://www.cnblogs.com/maxomnis/p/5627611.html