summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-05-19 10:03:21 +0200
committerJoas Schilling <coding@schilljs.com>2023-02-02 12:05:20 +0100
commit1fec8c07e0d47a571a79a32c08a58a28d7530954 (patch)
tree6a24e6f2c4601ccdc0a639787e5236c2b41eaf90 /lib
parentbbd3e2b04a8a882400fc5034126b3405f80605f8 (diff)
downloadnextcloud-server-1fec8c07e0d47a571a79a32c08a58a28d7530954.tar.gz
nextcloud-server-1fec8c07e0d47a571a79a32c08a58a28d7530954.zip
Allow 8.2 in versioncheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/versioncheck.php6
1 files changed, 3 insertions, 3 deletions
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.<br/>';
+ echo 'This version of Nextcloud is not compatible with PHP>=8.3.<br/>';
echo 'You are currently running ' . PHP_VERSION . '.';
exit(1);
}