From: Alan Knowles Date: Thu, 28 Jul 2011 14:37:44 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e69c21d7b5ec6ac97a8b44d72b6e87e4938cd17b JsCompile.php --- 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;