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

index 8e06620..6d0a8ef 100644 (file)
@@ -71,7 +71,10 @@ class Pman_Core_JsCompile  extends Pman
      * @param {String} $output name fo file to output
      *
      */
-    function pack($files, $output) {
+    function pack($files, $output)
+    {
+        
+        
         
         $o = HTML_FlexyFramework::get()->Pman_Core;
         
@@ -101,7 +104,7 @@ class Pman_Core_JsCompile  extends Pman
         
         // we should do more checking.. return val etc..
         if (file_exists($output) && ($max < filemtime($output) ) ) {
-            return true;
+            return $output;
         }
         return false;