This commit is contained in:
2026-01-25 21:47:17 +08:00
parent d4bd964fa6
commit 280effebef

View File

@ -61,12 +61,12 @@ if (YII_ENV_DEV) {
// ]; // ];
// configuration adjustments for 'dev' environment // configuration adjustments for 'dev' environment
// requires version `2.1.21` of yii2-debug module // requires version `2.1.21` of yii2-debug module
$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. // // uncomment the following to add your IP if you are not connecting from localhost.
//'allowedIPs' => ['127.0.0.1', '::1'], // //'allowedIPs' => ['127.0.0.1', '::1'],
]; // ];
} }
return $config; return $config;