From b6e3f30c591bcbd831d5e90b5253e8ce94306ebb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 21 May 2012 16:40:03 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2