build(dependencies): update composer dependencies and adjust view rendering

- Update topthink/think-view dependency to version ^2.0
- Modify view rendering in Install controller to use empty template path
This commit is contained in:
wolfcode
2025-01-15 09:45:07 +08:00
parent 91eac36371
commit d6bb1456fa
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class Install extends BaseController
];
$currentHost = '://';
$result = compact('errorInfo', 'currentHost', 'isInstall', 'envInfo');
return view('index/install/index', $result);
return view('', $result);
}
if ($errorInfo) $this->error($errorInfo);
$charset = 'utf8mb4';

View File

@@ -24,7 +24,7 @@
"topthink/framework": "^8.0",
"topthink/think-orm": "^3.0",
"topthink/think-multi-app": "^1.1.0",
"topthink/think-view": "2.0.0",
"topthink/think-view": "^2.0",
"topthink/think-captcha": "^3.0",
"topthink/think-filesystem": "^2.0",
"aliyuncs/oss-sdk-php": "^2.6",