JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 07:40:50 +0000 (15:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 07:40:50 +0000 (15:40 +0800)
JsCompile.php

index 015dd4f..f648aa4 100644 (file)
@@ -124,6 +124,7 @@ class Pman_Core_JsCompile  extends Pman
             return false;
             
         }
+        $targetm = file_exists($output) ? filemtime($output) : 0;
         $max = 0;
         foreach($files as $i => $f) {
             $max = max($max,filemtime($f));