From 82b0bd47f1047e39f3db655309d939e779009dfc Mon Sep 17 00:00:00 2001 From: Julian Knowles Date: Fri, 2 Aug 2013 13:28:48 +0800 Subject: [PATCH] Pman.Download.js JsCompile.php --- JsCompile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JsCompile.php b/JsCompile.php index 617a281b..9cbc7dcb 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -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. } -- 2.39.2