http://localhost/basic/web/index.php?r=gii報錯
Invalid Configuration?–?yii\base\InvalidConfigException
yii\web\Request::cookieValidationKey must be configured with a secret key.
Invalid Configuration?–?yii\base\InvalidConfigException
yii\web\Request::cookieValidationKey must be configured with a secret key.
2016-07-09
舉報
2016-07-09
知道啦?
修改?config/web.php?文件,給?cookieValidationKey?配置項 添加一個密鑰(若你通過 Composer 安裝,則此步驟會自動完成):
'cookieValidationKey' => '隨便寫',