From: Alan Knowles Date: Fri, 22 Jul 2011 07:36:51 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=46e43feb4e1f3ead85c837f13dc065b1ea94d042;p=Pman.Core JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index ae98bdcb..f201bb5b 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -85,7 +85,11 @@ class Pman_Core_JsCompile extends Pman } } - $output = serialize($arfiles); + $output = serialize($arfiles) .'.js'; + + if (!file_exists($output_path.'/'.$output)) { + $this->pack($arfiles,$output); + } print_r($arfiles);exit;