From 4bd6f931614dedc96d9f23985da12fb9a5dc8dfe Mon Sep 17 00:00:00 2001 From: Visman Date: Tue, 14 Nov 2023 08:46:17 +0700 Subject: [PATCH] Core\Func: Fix FRIENDLY URL for update --- app/Core/Func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Core/Func.php b/app/Core/Func.php index 4eec3cd8..953aef6d 100644 --- a/app/Core/Func.php +++ b/app/Core/Func.php @@ -55,7 +55,7 @@ class Func public function __construct(protected Container $c) { - $this->fUrl = $this->c->FRIENDLY_URL; + $this->fUrl = $c->isInit('FRIENDLY_URL') ? $c->FRIENDLY_URL : []; } /**