From: Alan Knowles Date: Thu, 28 Jul 2011 14:40:28 +0000 (+0800) Subject: JsCompile.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4046ff2e9d531883e88ee0e80934b79c17c7de0b JsCompile.php --- diff --git a/JsCompile.php b/JsCompile.php index 363ec6f0..345e4771 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -103,11 +103,11 @@ class Pman_Core_JsCompile extends Pman $output = md5(serialize($arfiles)) .'.js'; - if ( !$no_compile && !file_exists($basedir.'/_cache_/'.$output)) { + if ( $compile && !file_exists($basedir.'/_cache_/'.$output)) { $this->pack($arfiles,$basedir.'/_cache_/'.$output); } - if (!$no_compile && file_exists($basedir.'/_cache_/'.$output)) { + if ($ompile && file_exists($basedir.'/_cache_/'.$output)) { echo ''; return;