From 259693fb3f78b3123f44483b1a7998d0d3b20bbb Mon Sep 17 00:00:00 2001 From: net909 Date: Sat, 21 Dec 2024 19:02:09 +0800 Subject: [PATCH] fix --- app/middleware/LoadConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/middleware/LoadConfig.php b/app/middleware/LoadConfig.php index 2502714..92b0e04 100644 --- a/app/middleware/LoadConfig.php +++ b/app/middleware/LoadConfig.php @@ -21,7 +21,7 @@ class LoadConfig public function handle($request, \Closure $next) { if (!file_exists(app()->getRootPath().'.env')) { - if (strpos($this->request->url(), '/install') === false) { + if (strpos($request->url(), '/install') === false) { return redirect((string)url('/install'))->header([ 'Cache-Control' => 'no-store, no-cache, must-revalidate', 'Pragma' => 'no-cache',