From d6bb1456fa4dbc4f135ed9ed40e64d3799a8c7e7 Mon Sep 17 00:00:00 2001 From: wolfcode <37436228+wolf-leo@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:45:07 +0800 Subject: [PATCH] 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 --- app/index/controller/Install.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/index/controller/Install.php b/app/index/controller/Install.php index 0219d4e..b62bdd8 100644 --- a/app/index/controller/Install.php +++ b/app/index/controller/Install.php @@ -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'; diff --git a/composer.json b/composer.json index 80ca8a7..6a2f660 100644 --- a/composer.json +++ b/composer.json @@ -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",