From cbaa129e9ef74ef248b2dce5215fb90b8966ef51 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Aug 2011 12:04:59 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JsCompile.php b/JsCompile.php index 2f73c739..6ef48b3f 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -255,7 +255,8 @@ class Pman_Core_JsCompile extends Pman usort($ofiles, $lsort); $eoutput = escapeshellarg($output); - $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput " . implode($ofiles, ' ') . ' 2>&1'; + $toutput = escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)); + $cmd = "$seed {$o['jspacker']}/pack.js -o $eoutput -t $output" . implode($ofiles, ' ') . ' 2>&1'; //echo "
$cmd\n";
         //echo `$cmd`;
         
-- 
2.39.2