Skip to content

Commit

Permalink
Merge branch 'optimisation/version-compare' into MAGETWO-50222-PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie Lau committed Mar 16, 2016
2 parents add8661 + 687c540 commit f5b8736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
umask(0);

/* PHP version validation */
if (PHP_VERSION_ID < 50500) {
if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50500) {
if (PHP_SAPI == 'cli') {
echo 'Magento supports PHP 5.5.0 or later. ' .
'Please read http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html';
Expand Down

0 comments on commit f5b8736

Please sign in to comment.