JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 09:00:05 +0000 (17:00 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 09:00:05 +0000 (17:00 +0800)
JsCompile.php

index 141f00e..42f6fd5 100644 (file)
@@ -98,7 +98,7 @@ class Pman_Core_JsCompile  extends Pman
             $this->pack($arfiles,$output_path.'/_cache_/'.$output);
         }
         
-        if (file_exists($output_path.'/'.$output)) {
+        if (file_exists($output_path.'/_cache_/'.$output)) {
             
             echo '<script type="text/javascript" src="'.$output_url.'/_cache_/'. $output.'"></script>';
             return;