X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JsCompile.php;h=6c88bcf821f0849547d2abf953e928258ddf9e79;hb=b6e3f30c591bcbd831d5e90b5253e8ce94306ebb;hp=3e487aff6c1e76fa4f3e2a6c072bbcf019cab753;hpb=9452c7b9ae59452e375c1f7c2cdb2992bb3977e2;p=Pman.Core diff --git a/JsCompile.php b/JsCompile.php index 3e487aff..6c88bcf8 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -241,7 +241,7 @@ class Pman_Core_JsCompile extends Pman return false; } - $targetm = file_exists($output) ? filemtime($output) : 0; + $targetm = file_exists($output) && filesize($output) ? filemtime($output) : 0; $max = 0; $ofiles = array(); foreach($files as $f => $mt) {