如何开启网页底部默认的debug栏目? [ 未指定版本 ]
我已经按照相关的配置将dubug打开,但是底部调试栏目还是无法出现
if (true) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
// uncomment the following to add your IP if you are not connecting from localhost.
'allowedIPs' => ['192.168.10.1','*'],
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
// uncomment the following to add your IP if you are not connecting from localhost.
];
$config['modules']['admin'] = [
'class' => 'app\modules\admin',
'layout' => 'layout1'
];
}
共 1 个回答
surest
注册时间:2018-08-08
最后登录:2018-08-16
在线时长:3小时39分
最后登录:2018-08-16
在线时长:3小时39分
- 粉丝0
- 金钱60
- 威望0
- 积分90