From 46e43feb4e1f3ead85c837f13dc065b1ea94d042 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 22 Jul 2011 15:36:51 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.2