瀏覽代碼

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;