PHP开发实例大全(提高卷) 中文完整pdf扫描版[244MB]
if (YII_ENV_DEV) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['127.0.0.1', '::1','10.1.192.258'], // 258 is test ip
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['127.0.0.1', '::1','10.1.192.258'], // 258 is test ip
];
}
转载请注明:谷谷点程序 » yii2 配置gii的方法