JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 07:43:38 +0000 (15:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 22 Jul 2011 07:43:38 +0000 (15:43 +0800)
JsCompile.php

index 9cbe4d9..eb44c89 100644 (file)
@@ -91,8 +91,11 @@ class Pman_Core_JsCompile  extends Pman
             $this->pack($arfiles,$output);
         }
         
-        print_r(sort(array_keys($arfiles));exit;
-        
+        if (file_exists($output_path.'/'.$output)) {
+            echo "output compressed.."
+            return;
+        }
+        echo "output original.."