|
|
@@ -4,12 +4,11 @@ $config = [
|
|
|
'modules' => [
|
|
|
'debug' => [
|
|
|
'class' => 'yii\debug\Module',
|
|
|
- //'allowedIPs' => ['127.0.0.1', '::1','27.154.26.140','117.28.113.134','110.87.12.47','120.41.191.50'],
|
|
|
- 'allowedIPs' => ['*'],
|
|
|
+ 'allowedIPs' => [getenv('DEBUG_ALLOWED_IP')],
|
|
|
],
|
|
|
'gii' => [
|
|
|
'class' => 'yii\gii\Module',
|
|
|
- 'allowedIPs' => ['127.0.0.1', '::1','27.154.26.140','117.28.113.134','110.87.12.47','120.41.191.50'],
|
|
|
+ 'allowedIPs' => [getenv('GII_ALLOWED_IP')],
|
|
|
],
|
|
|
],
|
|
|
|