JsCompile.php
authorAlan Knowles <alan@roojs.com>
Thu, 17 Mar 2016 09:40:13 +0000 (17:40 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Mar 2016 09:40:13 +0000 (17:40 +0800)
JsCompile.php

index d1c70cd..abab4e6 100644 (file)
@@ -255,7 +255,11 @@ class Pman_Core_JsCompile  extends Pman
     
     function pack($files, $output, $translation_base=false)
     {
-         
+        
+        if (empty($files)) {
+            return false;
+        }
+        
         $o = HTML_FlexyFramework::get()->Pman_Core;
         if (isset($o['packseed'])) {
             return $this->packSeed($files,$output,$translation_base);