JsCompile.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 07:14:33 +0000 (15:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Jul 2017 07:14:33 +0000 (15:14 +0800)
JsCompile.php

index e7f8587..dd977c5 100644 (file)
@@ -264,7 +264,10 @@ class Pman_Core_JsCompile  extends Pman
         if (isset($o['packseed'])) {
             return $this->packSeed($files,$output,$translation_base);
         }
-    
+        if (!empty($o['disable_packer'])) {
+            echo "<!-- packer disabled    disable_packer  != false -->";
+            return;
+        }
         
         require_once 'System.php';
         $packer = System::which('roojspacker');