CommunityContent/Misc

* granularly define inclusion of comments, screenshots or videos
 * i hope everyone is on a 2y old php version by now
This commit is contained in:
Sarjuuk
2022-03-10 14:02:15 +01:00
parent 012ebe578b
commit 1c7acf6a08
8 changed files with 97 additions and 69 deletions

View File

@@ -10,8 +10,8 @@ foreach ($reqExt as $r)
if (!extension_loaded($r))
$error .= 'Required Extension <b>'.$r."</b> was not found. Please check if it should exist, using \"<i>php -m</i>\"\n\n";
if (version_compare(PHP_VERSION, '7.1.0') < 0)
$error .= 'PHP Version <b>7.1</b> or higher required! Your version is <b>'.PHP_VERSION."</b>.\nCore functions are unavailable!\n";
if (version_compare(PHP_VERSION, '7.4.0') < 0)
$error .= 'PHP Version <b>7.4</b> or higher required! Your version is <b>'.PHP_VERSION."</b>.\nCore functions are unavailable!\n";
if ($error)
{