Skip to content

Commit 287dee5

Browse files
committed
MAGETWO-32106: Wrong url in bootstrap.php for page with "system requirements"
- fixed error message for console and browser
1 parent 0efd237 commit 287dee5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/bootstrap.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
/* PHP version validation */
1414
if (version_compare(phpversion(), '5.4.11', '<') === true) {
1515
if (PHP_SAPI == 'cli') {
16-
echo 'Magento supports PHP 5.4.11 or newer. Please read http://www.magento.com/install.';
16+
echo 'Magento supports PHP 5.4.11 or later. ' .
17+
'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html.';
1718
} else {
1819
echo <<<HTML
1920
<div style="font:12px/1.35em arial, helvetica, sans-serif;">
20-
<div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
21-
<h3 style="margin:0;font-size:1.7em;font-weight:normal;text-transform:none;text-align:left;color:#2f2f2f;">
22-
Whoops, it looks like you have an invalid PHP version.</h3>
23-
</div>
24-
<p>Magento supports PHP 5.4.11 or newer.
21+
<p>Magento supports PHP 5.4.11 or later. Please read
22+
<a href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html">
23+
http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html</a>.
2524
</div>
2625
HTML;
2726
}

0 commit comments

Comments
 (0)