From: Alan Knowles Date: Fri, 22 Jul 2011 07:26:43 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=399a7021a554c613768122d5baffb3020e386a90;p=Pman.Core JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 8e066207..6d0a8ef9 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -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;