修复缺失文件的问题

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

3
.gitignore vendored
View File

@@ -43,7 +43,7 @@ nginx.htaccess
web/.htaccess
web/nginx.htaccess
web/admin
web/admin/images/upload
web/service/uploads
common/config/codeception-local.php
@@ -53,3 +53,4 @@ common/config/params-local.php
yii_test
yii_test.bat
/vendor/
/helpers/

View File

@@ -52,7 +52,7 @@ class LoginController extends BaseAdminController
default:
$title = $admin['username'].'的管理后台';
}
$admin['title'] = $title. '---';
$admin['title'] = $title;
return [
'userInfo' => $admin,

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 [
];