소스 검색

lower php version (5.1.0 should be enough)

Nicolas Cannasse 17 년 전
부모
커밋
1e6fb61745
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      genphp.ml

+ 2 - 2
genphp.ml

@@ -1819,8 +1819,8 @@ let createmain com c =
 		cwd = "";
 	} in
 
-	spr ctx "if(version_compare(PHP_VERSION, '5.1.6', '<')) {
-    exit('Your current PHP version is: ' . PHP_VERSION . '. haXe/PHP generates code for version 5.1.6 or later');
+	spr ctx "if(version_compare(PHP_VERSION, '5.1.0', '<')) {
+    exit('Your current PHP version is: ' . PHP_VERSION . '. haXe/PHP generates code for version 5.1.0 or later');
 }";
 	newline ctx;
 	newline ctx;