-
-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
status:to be verifiedNeeds to be reproduced and validated.Needs to be reproduced and validated.type:bugBugBug
Description
What steps will reproduce the problem?
config:
'bootstrap' => ['debug', 'gii'],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*']
],
'gii' => [
'class' => 'yii\gii\Module',
]
],
What's expected?
Panel works
What do you get instead?
$debug = Yii::$app->getModule('debug');
$debug->allowedIPs returns:
array(2) {
[0]=>
string(9) "127.0.0.1"
[1]=>
string(3) "::1"
}
Panel doesn't works
Additional info
If manualy change allowedIPs in yii\debug\Module.php, it returns ['*'] and panel works
| Q | A |
|---|---|
| Yii version 2.0.41.1 | |
| PHP version 7.4.3 | |
| Operating system Ubuntu 20.04.2 |
Metadata
Metadata
Assignees
Labels
status:to be verifiedNeeds to be reproduced and validated.Needs to be reproduced and validated.type:bugBugBug