mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Merge pull request #1139 from docsolver/patch-1
Little explanation on the IP whitelisting
This commit is contained in:
@@ -10,6 +10,17 @@ Installing and configuring
|
||||
How to use it
|
||||
-------------
|
||||
|
||||
Add these lines to your config file:
|
||||
|
||||
```
|
||||
'preload' => ['debug'],
|
||||
'modules' => [
|
||||
'debug' => ['yii\debug\Module']
|
||||
]
|
||||
```
|
||||
|
||||
**Watch out: by default the debug module only works when browsing the website from the localhost. If you want to use it on a remote (staging) server, add the parameter allowedIPs to the config to whitelist your IP.**
|
||||
|
||||
Creating your own panels
|
||||
------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user