fix php8
authorAlan <alan@roojs.com>
Fri, 22 Oct 2021 05:00:12 +0000 (13:00 +0800)
committerAlan <alan@roojs.com>
Fri, 22 Oct 2021 05:00:12 +0000 (13:00 +0800)
AssetTrait.php
JsCompile.php

index 6e8627e..f653e56 100644 (file)
@@ -260,7 +260,7 @@ trait Pman_Core_AssetTrait {
             file_put_contents($compiledir.'/'.$output , $x->minify( $this->baseURL.$asset));
             clearstatcache();
             if (!file_exists($compiledir.'/'.$output) ||
-                !filesize($compiledir.'/'.$routput)) {
+                !filesize($compiledir.'/'.$output)) {
                 echo "<!-- compile did not generate files : " . basename($compiledir) . "/{$output} -->\n";
                 $this->assetArrayToHtml($files,'css');
                 return;
index 397178b..c53bf6c 100644 (file)
@@ -228,10 +228,6 @@ class Pman_Core_JsCompile  extends Pman
             return false;
         }
         
-        $o = HTML_FlexyFramework::get()->Pman_Core;
-        if (isset($o['packseed'])) {
-            return $this->packSeed($files,$output,$translation_base);
-        }
         
         
         require_once 'System.php';