JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 28 Jul 2011 14:40:32 +0000 (22:40 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 28 Jul 2011 14:40:32 +0000 (22:40 +0800)
JsCompile.php

index 345e477..efabda2 100644 (file)
@@ -107,7 +107,7 @@ class Pman_Core_JsCompile  extends Pman
             $this->pack($arfiles,$basedir.'/_cache_/'.$output);
         }
         
-        if ($ompile && file_exists($basedir.'/_cache_/'.$output)) {
+        if ($compile && file_exists($basedir.'/_cache_/'.$output)) {
             
             echo '<script type="text/javascript" src="'.$output_url.'/_cache_/'. $output.'"></script>';
             return;