Commit 182dfb39 by Qiang Xue

Added warning log when access to gii and debugger is denied due to IP restriction.

parent a82330b2
......@@ -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;
}
......
......@@ -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;
}
......
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