From: Alan Knowles Date: Tue, 22 Mar 2016 10:10:55 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=b78ab06167f8f3e00a66b5d4bed723cf67e8b9a6 JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 714bcab6..35454591 100644 --- 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 "\n"; return true; }