From a418720887ea4220a8415bab443d22e51c168cad Mon Sep 17 00:00:00 2001 From: MaximAL Date: Tue, 28 Jul 2015 18:45:49 +0300 Subject: [PATCH] Add `cookieValidationKey` setting to the `Install from an Archive File` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this, basic application doesn’t work. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index e5a2d9f..09426cb 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,15 @@ INSTALLATION 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. +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' => '', +], +``` + You can then access the application through the following URL: ~~~