From b78ab06167f8f3e00a66b5d4bed723cf67e8b9a6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Mar 2016 18:10:55 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2