Browse Source

lower php version (5.1.0 should be enough)

Nicolas Cannasse 17 years ago
parent
commit
1e6fb61745
1 changed files with 2 additions and 2 deletions
  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;