Skip to content

Commit

Permalink
Replace version_compare() in index.php.dist with PHP_VERSION_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
PhrozenByte committed Jan 25, 2016
1 parent 1c2f6a1 commit ce508fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php.dist
@@ -1,7 +1,7 @@
<?php // @codingStandardsIgnoreFile

// 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');
}

Expand Down

0 comments on commit ce508fa

Please sign in to comment.