Browse Source

Fixes #4948. Thanks, @johan162

tags/2.0.0-rc
Alexander Makarov 10 years ago
parent
commit
abb807bd9d
  1. 10
      docs/guide/start-gii.md

10
docs/guide/start-gii.md

@ -43,6 +43,16 @@ Thanks to that line, your application is in development mode, and will have alre
http://hostname/index.php?r=gii
```
> Note: if you are accessing gii from an IP address other than localhost, access will be denied by default.
> To circumvent that default, add the allowed IP addresses to the configuration:
>
```php
'gii' => [
'class' => 'yii\gii\Module',
'allowedIPs' => ['127.0.0.1', '::1', '192.168.0.*', '192.168.178.20'] // adjust this to your needs
],
```
![Gii](images/start-gii.png)

Loading…
Cancel
Save