修复缺失文件的问题

This commit is contained in:
2024-09-23 13:48:02 +08:00
parent 88e79de489
commit d2691d90d5
4 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
<?php
$config = [
'components' => [
'request' => [
],
],
];
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => \yii\debug\Module::class,
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => \yii\gii\Module::class,
];
}
return $config;

View File

@@ -0,0 +1,4 @@
<?php
return [
];