JsCompile.php
[Pman.Core] / JsCompile.php
index 192c1da..4c8b5ec 100644 (file)
@@ -249,7 +249,7 @@ class Pman_Core_JsCompile  extends Pman
         }
         sort($ofiles);
         $eoutput = escapeshellarg($output);
-        $cmd = "$seed {$o['jspacker']}/pack.js  -o $eoutput " . implode($ofiles, ' ') . '>2&1';
+        $cmd = "$seed {$o['jspacker']}/pack.js  -o $eoutput " . implode($ofiles, ' ') . ' >2&1';
         //echo "<PRE>$cmd\n";
         //echo `$cmd`;
         $res = `$cmd`;
@@ -261,8 +261,11 @@ class Pman_Core_JsCompile  extends Pman
             return true;
         }
         echo "<!-- packed file did not exist
-            " . htmlspecialchars($res) . "
+          
             " . htmlspecialchars($cmd) . "
+            
+            " . htmlspecialchars($res) . "
+            
             -->";
         return false;