Browse Source

Allow 8.2 in versioncheck

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tags/v26.0.0beta2
Côme Chilliet 2 years ago
parent
commit
1fec8c07e0
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      lib/versioncheck.php

+ 3
- 3
lib/versioncheck.php View File

@@ -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);
}

Loading…
Cancel
Save