mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-08 08:17:24 +01:00
Added warning log when access to gii and debugger is denied due to IP restriction.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user