Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
abb807bd
Commit
abb807bd
authored
Sep 08, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #4948. Thanks, @johan162
parent
06a3f5ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
start-gii.md
docs/guide/start-gii.md
+10
-0
No files found.
docs/guide/start-gii.md
View file @
abb807bd
...
@@ -43,6 +43,16 @@ Thanks to that line, your application is in development mode, and will have alre
...
@@ -43,6 +43,16 @@ Thanks to that line, your application is in development mode, and will have alre
http://hostname/index.php?r=gii
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
)
![
Gii
](
images/start-gii.png
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment