projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8611d62
)
JsCompile.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Mar 2016 10:10:55 +0000
(18:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Mar 2016 10:10:55 +0000
(18:10 +0800)
JsCompile.php
patch
|
blob
|
history
diff --git
a/JsCompile.php
b/JsCompile.php
index
714bcab
..
3545459
100644
(file)
--- a/
JsCompile.php
+++ b/
JsCompile.php
@@
-330,7
+330,7
@@
class Pman_Core_JsCompile extends Pman
-->";
clearstatcache();
// we should do more checking.. return val etc..
- if (file_exists($output) && ($max < filemtime($output) ) ) {
+ if (file_exists($output) &&
filesize($output) &&
($max < filemtime($output) ) ) {
echo "<!-- file looks like its been generated -->\n";
return true;
}