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
182dfb39
Commit
182dfb39
authored
Nov 20, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warning log when access to gii and debugger is denied due to IP restriction.
parent
a82330b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Module.php
extensions/debug/Module.php
+1
-0
Module.php
extensions/gii/Module.php
+1
-0
No files found.
extensions/debug/Module.php
View file @
182dfb39
...
...
@@ -106,6 +106,7 @@ class Module extends \yii\base\Module
return
true
;
}
}
Yii
::
warning
(
'Access to debugger is denied due to IP address restriction. The requested IP is '
.
$ip
,
__METHOD__
);
return
false
;
}
...
...
extensions/gii/Module.php
View file @
182dfb39
...
...
@@ -125,6 +125,7 @@ class Module extends \yii\base\Module
return
true
;
}
}
Yii
::
warning
(
'Access to Gii is denied due to IP address restriction. The requested IP is '
.
$ip
,
__METHOD__
);
return
false
;
}
...
...
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