From 2fda595486ee3216a73cc107584f461f126cc9ec Mon Sep 17 00:00:00 2001 From: Alan Date: Fri, 22 Oct 2021 13:00:12 +0800 Subject: [PATCH] fix php8 --- AssetTrait.php | 2 +- JsCompile.php | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/AssetTrait.php b/AssetTrait.php index 6e8627ea..f653e561 100644 --- a/AssetTrait.php +++ b/AssetTrait.php @@ -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 "\n"; $this->assetArrayToHtml($files,'css'); return; diff --git a/JsCompile.php b/JsCompile.php index 397178bd..c53bf6c6 100644 --- a/JsCompile.php +++ b/JsCompile.php @@ -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'; -- 2.39.2