JsCompile.php
authorAlan Knowles <alan@roojs.com>
Tue, 12 Jan 2016 06:46:17 +0000 (14:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Jan 2016 06:46:17 +0000 (14:46 +0800)
JsCompile.php

index 7e9f8e3..17de726 100644 (file)
@@ -288,13 +288,14 @@ class Pman_Core_JsCompile  extends Pman
         usort($ofiles, $lsort);
         
         //$eoutput = " -k  -o " . escapeshellarg($output) ; // with whitespace..
-        $eoutput = "  -o " . escapeshellarg($output) ;
-                   
-        if (  $translation_base) {
-            $toutput = " -t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
-                    " -p " . escapeshellarg($translation_base) ;//." -k "; // this kills the compression.
-                    
-        }
+        $eoutput = "  -t " . escapeshellarg($output) ;
+          
+        // no support for translation any more?         
+        //if (  $translation_base) {
+        //    $toutput = " -t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
+        //            " -p " . escapeshellarg($translation_base) ;//." -k "; // this kills the compression.
+        //            
+        //}
         
         
         $cmd = ($seed ?