From: pk910 Date: Sun, 27 Nov 2011 15:20:14 +0000 (+0100) Subject: fixes small issue in JavaGod.class.php X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=bb2b4fd1501bb1a83855e1bf0305dbf3b1f7f8aa fixes small issue in JavaGod.class.php --- diff --git a/Bots/JavaGod.class.php b/Bots/JavaGod.class.php index cd16c3e..f8d47c9 100644 --- a/Bots/JavaGod.class.php +++ b/Bots/JavaGod.class.php @@ -113,7 +113,7 @@ class {$_NAME} extends Bot { } "; }; - $fp = fopen("tmp/debug_".$entry['id'].".c", "w"); + $fp = fopen("tmp/debug_".$entry['id'].".java", "w"); fwrite($fp, $javacode); fclose($fp); $err = shell_exec("javac tmp/debug_".$entry['id'].".java 2>&1");