From: Alan Knowles Date: Tue, 12 Jan 2016 06:46:17 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=3d7304a8ec37397fae6bb907babdbd1ddfa05502 JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 7e9f8e3e..17de7260 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -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 ?