Merge pull request #19 from maximal/patch-1
Add `cookieValidationKey` setting to the `Install from an Archive File` [skip ci]
This commit is contained in:
commit
bce4ec4400
@ -43,6 +43,15 @@ INSTALLATION
|
|||||||
Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to
|
Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to
|
||||||
a directory named `basic` that is directly under the Web root.
|
a directory named `basic` that is directly under the Web root.
|
||||||
|
|
||||||
|
Set cookie validation key in `config/web.php` file to some random secret string:
|
||||||
|
|
||||||
|
```php
|
||||||
|
'request' => [
|
||||||
|
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
|
||||||
|
'cookieValidationKey' => '<secret random string goes here>',
|
||||||
|
],
|
||||||
|
```
|
||||||
|
|
||||||
You can then access the application through the following URL:
|
You can then access the application through the following URL:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user