From: Alan Date: Fri, 22 Oct 2021 05:00:12 +0000 (+0800) Subject: fix php8 X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2fda595486ee3216a73cc107584f461f126cc9ec fix php8 --- 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';