Yii v2 snippet guide

Comparing #118 with #119

Revision #119 was created by rackycz rackycz on Oct 2, 2019, 6:08:14 AM.

new caption

Content

[...]
Details can be found here [https://www.yiiframework.com/doc/guide/2.0/en/security-authorization](https://www.yiiframework.com/doc/guide/2.0/en/security-authorization).

**Nice URLs**
---
... t
exto be added on Friday ... **How to redirect web to subfolder /web** --- ... texto be added on Friday ... **Auto redirection from login to desired URL ** --- ... texto be added on Friday ...

**What to change when exporting to the Internet**
[...]
- In file web/index.php comment you 2 first lines containing YII_DEBUG + YII_ENV
- Delete the text from view site/login which says "You may login with admin/admin or demo/demo."

 
 
**Tests - unit + opa**
 
---
 
... text ...