From e69c21d7b5ec6ac97a8b44d72b6e87e4938cd17b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 28 Jul 2011 22:37:44 +0800 Subject: [PATCH] JsCompile.php --- JsCompile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JsCompile.php b/JsCompile.php index 58e56395..cad5951c 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -102,11 +102,11 @@ class Pman_Core_JsCompile extends Pman $output = md5(serialize($arfiles)) .'.js'; - if (!file_exists($basedir.'/_cache_/'.$output)) { + if ( $output_url && !file_exists($basedir.'/_cache_/'.$output)) { $this->pack($arfiles,$basedir.'/_cache_/'.$output); } - if (file_exists($basedir.'/_cache_/'.$output)) { + if ($output_url && file_exists($basedir.'/_cache_/'.$output)) { echo ''; return; -- 2.39.2