Skip to content

Commit

Permalink
[-] IN : Handle RC PHP_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Oct 30, 2013
1 parent f9b1545 commit 9ef10ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-dev/init.php
Expand Up @@ -27,7 +27,7 @@
ob_start();

// Check PHP version
if (version_compare(PHP_VERSION, '5.1.3', '<'))
if (version_compare(preg_replace('/[A-Za-z\-]/', '', PHP_VERSION), '5.1.3', '<'))
die('You need at least PHP 5.1.3 to run PrestaShop. Your current PHP version is '.PHP_VERSION);

// Generate common constants
Expand Down

0 comments on commit 9ef10ee

Please sign in to comment.