Skip to content

Commit f0b1299

Browse files
author
Artem Kirkor
committed
Issue #34545 Code review fixes
1 parent d25cd42 commit f0b1299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
echo 'Magento supports PHP 7.4.0 or later. ' .
2020
'Please read https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html';
2121
} else {
22-
http_response_code(503);
2322
echo <<<HTML
2423
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
2524
<p>Magento supports PHP 7.4.0 or later. Please read
@@ -28,6 +27,7 @@
2827
</div>
2928
HTML;
3029
}
30+
http_response_code(503);
3131
exit(1);
3232
}
3333

0 commit comments

Comments
 (0)