From 9c9abd5ea908abbe14f28bff6fa0240e71dc6b67 Mon Sep 17 00:00:00 2001 From: TL Date: Fri, 2 Sep 2022 20:23:46 +0800 Subject: [PATCH] installer --- public/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.php b/public/index.php index f3e708a8..3c98d6a9 100644 --- a/public/index.php +++ b/public/index.php @@ -5,6 +5,7 @@ use Illuminate\Http\Request; if (!file_exists( __DIR__.'/../storage/installed') && (!isset($_SERVER['REDIRECT_URL']) || substr($_SERVER['REDIRECT_URL'], 0, 10) != '/installer')) { header("Location: /installer"); + exit; } if (version_compare(PHP_VERSION, '8.0.2', '<') == true) {