diff --git a/extensions/debug/Module.php b/extensions/debug/Module.php index ae707da..51f69a6 100644 --- a/extensions/debug/Module.php +++ b/extensions/debug/Module.php @@ -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; } diff --git a/extensions/gii/Module.php b/extensions/gii/Module.php index ab840a0..7dc9590 100644 --- a/extensions/gii/Module.php +++ b/extensions/gii/Module.php @@ -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; }