Commit 3dee98d9 by Qiang Xue

Merge pull request #1139 from docsolver/patch-1

Little explanation on the IP whitelisting
parents 115487a8 1e1056bf
...@@ -10,6 +10,17 @@ Installing and configuring ...@@ -10,6 +10,17 @@ Installing and configuring
How to use it 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 Creating your own panels
------------------------ ------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment