Replace version_compare() in index.php.dist with PHP_VERSION_ID
This commit is contained in:
parent
1c2f6a1b23
commit
ce508fab6b
|
@ -1,7 +1,7 @@
|
||||||
<?php // @codingStandardsIgnoreFile
|
<?php // @codingStandardsIgnoreFile
|
||||||
|
|
||||||
// check PHP version
|
// check PHP version
|
||||||
if (version_compare(PHP_VERSION, '5.3.6', '<')) {
|
if (PHP_VERSION_ID < 50306) {
|
||||||
die('Pico requires PHP 5.3.6 or above to run');
|
die('Pico requires PHP 5.3.6 or above to run');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue