Browse Source

lower php version (5.1.0 should be enough)

Nicolas Cannasse 17 năm trước cách đây
mục cha
commit
1e6fb61745
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;