Permalink
Browse files

Replace version_compare() in index.php.dist with PHP_VERSION_ID

  • Loading branch information...
1 parent 1c2f6a1 commit ce508fab6b0930e38b337c95a39a6b870c4d2f9f @PhrozenByte PhrozenByte committed Jan 25, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php.dist
View
@@ -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');
}

0 comments on commit ce508fa

Please sign in to comment.