소스 검색

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

Daniel Rudolf 9 년 전
부모
커밋
ce508fab6b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');
 }