Pman.Download.js
authorJulian Knowles <julian@roojs.com>
Fri, 2 Aug 2013 05:28:48 +0000 (13:28 +0800)
committerJulian Knowles <julian@roojs.com>
Fri, 2 Aug 2013 05:28:48 +0000 (13:28 +0800)
JsCompile.php

JsCompile.php

index 617a281..9cbc7dc 100644 (file)
@@ -269,11 +269,11 @@ class Pman_Core_JsCompile  extends Pman
         $lsort = create_function('$a,$b','return strlen($a) > strlen($b) ? 1 : -1;');
         usort($ofiles, $lsort);
         
-        $eoutput = " -o " . escapeshellarg($output) ;
+        $eoutput = " -k  -o " . escapeshellarg($output) ;
             
                    
         if (  $translation_base) {
-            $toutput = " -k -t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
+            $toutput = " -t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
                     " -p " . escapeshellarg($translation_base) ;//." -k "; // this kills the compression.
                     
         }