From 6de6853cfeeaef2a27899a4a891e96c1b6cd94a8 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 10 Jun 2022 14:00:35 +0200 Subject: [PATCH] Core/PHP * bump version requirements to v8.0 --- README.md | 2 +- includes/shared.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 13019966..8c3cd7b3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Also, this project is not meant to be used for commercial puposes of any kind! ## Requirements -+ Webserver running PHP ≥ 7.4 — 8.0 including extensions: ++ Webserver running PHP ≥ 8.0 including extensions: + [SimpleXML](https://www.php.net/manual/en/book.simplexml.php) + [GD](https://www.php.net/manual/en/book.image) + [MySQL Improved](https://www.php.net/manual/en/book.mysqli.php) diff --git a/includes/shared.php b/includes/shared.php index 48b2adbf..80a6859f 100644 --- a/includes/shared.php +++ b/includes/shared.php @@ -10,8 +10,8 @@ foreach ($reqExt as $r) if (!extension_loaded($r)) $error .= 'Required Extension '.$r." was not found. Please check if it should exist, using \"php -m\"\n\n"; -if (version_compare(PHP_VERSION, '7.4.0') < 0) - $error .= 'PHP Version 7.4 or higher required! Your version is '.PHP_VERSION.".\nCore functions are unavailable!\n"; +if (version_compare(PHP_VERSION, '8.0.0') < 0) + $error .= 'PHP Version 8.0 or higher required! Your version is '.PHP_VERSION.".\nCore functions are unavailable!\n"; if ($error) {