Skip to content

Commit

Permalink
Fix php version check for downgrade (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbableck authored Feb 20, 2025
1 parent f021425 commit 6a9bd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
exit(1);
}

if (PHP_VERSION_ID < 70205) {
if (PHP_VERSION_ID < 80100) {
Phar::mapPhar('contao-manager.phar');
@include 'phar://contao-manager.phar/downgrade.php';
die('<script>setTimeout(function() { window.location.reload(true) }, 1000)</script>');
Expand Down

0 comments on commit 6a9bd14

Please sign in to comment.