JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 17 Aug 2011 03:14:49 +0000 (11:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 17 Aug 2011 03:14:49 +0000 (11:14 +0800)
JsCompile.php

index 1611e2d..a6d1bff 100644 (file)
@@ -269,11 +269,10 @@ class Pman_Core_JsCompile  extends Pman
         
         $res = `$cmd`;
         //exit;
-        file_put_contents($output.'.log'. $res);
+        file_put_contents($output.'.log'. $cmd."\n\n". $res);
         // since this only appears when we change.. it's ok to dump it out..
           echo "<!-- Compiled javascript
           
-            " . htmlspecialchars($cmd) . "
             
             " . htmlspecialchars($res) . "