projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4b8b997
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:43:50 +0000
(16:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Aug 2011 08:43:50 +0000
(16:43 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
31bb666
..
0c64cb2
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-259,7
+259,7
@@
class Pman_Core_JsCompile extends Pman
$eoutput = " -o " . escapeshellarg($output) .
" -O ". escapeshellarg(preg_replace('/\.js$/', '.__debug__.js', $output));
$eoutput = " -o " . escapeshellarg($output) .
" -O ". escapeshellarg(preg_replace('/\.js$/', '.__debug__.js', $output));
- if (
false &&
$translation_base) {
+ if ( $translation_base) {
$toutput = "-t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
" -p " . escapeshellarg($translation_base);
}
$toutput = "-t ". escapeshellarg(preg_replace('/\.js$/', '.__translation__.js', $output)) .
" -p " . escapeshellarg($translation_base);
}