[-] IN : Handle RC PHP_VERSION
This commit is contained in:
1 parent
f9b1545037
commit
9ef10ee806
1 file changed
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
// Check PHP version
|
// 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);
|
die('You need at least PHP 5.1.3 to run PrestaShop. Your current PHP version is '.PHP_VERSION);
|
||||||
|
|
||||||
// Generate common constants
|
// Generate common constants
|
||||||
|
|||||||
Reference in new issue
Block a user