Explorar o código

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

Daniel Rudolf %!s(int64=9) %!d(string=hai) anos
pai
achega
ce508fab6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index.php.dist

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