Yii框架错误

  1. yii\web\Request::cookieValidationKey must be configured with a secret key.php

    解决办法到/config/web.php里面修改 'components' => [
            'request' => [
                // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
                'cookieValidationKey' =>'myYiifram',
            ],web

相关文章
相关标签/搜索