Diff of /lang.php [961ec0] .. [85d212]  Maximize  Restore

Switch to side-by-side view

--- a/lang.php
+++ b/lang.php
@@ -56,7 +56,7 @@
 	}
 	$s = "<?php\n\$translations = array(\n$s);\n";
 	if ($s != $file) {
-		fwrite(fopen($filename, "w"), $s); // file_put_contents() since PHP 5
+		file_put_contents($filename, $s);
 		echo "$filename updated.\n";
 	}
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks