|
@@ -55,11 +55,15 @@ if (YII_ENV_DEV) {
|
|
|
$config['bootstrap'][] = 'debug';
|
|
$config['bootstrap'][] = 'debug';
|
|
|
$config['modules']['debug'] = [
|
|
$config['modules']['debug'] = [
|
|
|
'class' => 'yii\debug\Module',
|
|
'class' => 'yii\debug\Module',
|
|
|
|
|
+ // uncomment the following to add your IP if you are not connecting from localhost.
|
|
|
|
|
+ //'allowedIPs' => ['127.0.0.1', '::1'],
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
$config['bootstrap'][] = 'gii';
|
|
$config['bootstrap'][] = 'gii';
|
|
|
$config['modules']['gii'] = [
|
|
$config['modules']['gii'] = [
|
|
|
'class' => 'yii\gii\Module',
|
|
'class' => 'yii\gii\Module',
|
|
|
|
|
+ // uncomment the following to add your IP if you are not connecting from localhost.
|
|
|
|
|
+ //'allowedIPs' => ['127.0.0.1', '::1'],
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
|
|
|