From 1fec8c07e0d47a571a79a32c08a58a28d7530954 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 19 May 2022 10:03:21 +0200 Subject: Allow 8.2 in versioncheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/versioncheck.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/versioncheck.php') diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 7c95b333102..8869fe95453 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -33,10 +33,10 @@ if (PHP_VERSION_ID < 80000) { exit(1); } -// Show warning if >= PHP 8.2 is used as Nextcloud is not compatible with >= PHP 8.2 for now -if (PHP_VERSION_ID >= 80200) { +// Show warning if >= PHP 8.3 is used as Nextcloud is not compatible with >= PHP 8.3 for now +if (PHP_VERSION_ID >= 80300) { http_response_code(500); - echo 'This version of Nextcloud is not compatible with PHP>=8.2.
'; + echo 'This version of Nextcloud is not compatible with PHP>=8.3.
'; echo 'You are currently running ' . PHP_VERSION . '.'; exit(1); } -- cgit v1.2.3