projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ae1aa
)
JsCompile.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Jul 2011 07:42:35 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 22 Jul 2011 07:42:35 +0000
(15:42 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
fd6fa77
..
8856286
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-126,9
+126,10
@@
class Pman_Core_JsCompile extends Pman
}
$targetm = file_exists($output) ? filemtime($output) : 0;
$max = 0;
+ $ofiles = array();
foreach($files as $f => $mt) {
- $max = max($max,
filemtime($f)
);
- $
files[$i
] = escapeshellarg($f);
+ $max = max($max,
$mt
);
+ $
ofiles[
] = escapeshellarg($f);
}
if ($max < filemtime($output)) {
return true;