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

相關文章
相關標籤/搜索