installer

This commit is contained in:
TL 2022-09-02 20:23:46 +08:00
parent cd370fb6c3
commit 9c9abd5ea9
1 changed files with 1 additions and 0 deletions

View File

@ -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) {