Skip to content

Commit

Permalink
FIX Max version of PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Oct 23, 2023
1 parent 11486c8 commit b8f9b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/install/check.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
print "<br>\n";

// Check PHP version max
$arrayphpmaxversionwarning = array(8, 1, 0);
$arrayphpmaxversionwarning = array(8, 2, 0);
if (versioncompare(versionphparray(), $arrayphpmaxversionwarning) > 0 && versioncompare(versionphparray(), $arrayphpmaxversionwarning) < 3) { // Maximum to use (warning if higher)
print '<img src="../theme/eldy/img/error.png" alt="Error" class="valignmiddle"> '.$langs->trans("ErrorPHPVersionTooHigh", versiontostring($arrayphpmaxversionwarning));
$checksok = 1; // 0=error, 1=warning
Expand Down

0 comments on commit b8f9b0c

Please sign in to comment.