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

index b3ddd6f..f5abb8d 100644 (file)
@@ -135,7 +135,7 @@ class Pman_Core_JsCompile  extends Pman
             $max = max($max,$mt);
             $ofiles[] = escapeshellarg($f);
         }
-        if ($max < filemtime($output)) {
+        if ($max < $targetm)) {
             return true;
         }