Yii框架报错修复1:yii\web\Request::cookieValidationKey must be configured with a secret key.

Yii框架报错修复1:yii\web\Request::cookieValidationKey must be configured with a secret key.

原因:防止cookie攻击的cookieValidationKey 未配置

修复:在 basic\config\web.php 中随便输入字符串即可

猜你喜欢

转载自blog.csdn.net/weixin_38787928/article/details/86001381