瀏覽代碼

Core\Func: Fix FRIENDLY URL for update

Visman 1 年之前
父節點
當前提交
4bd6f93161
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Core/Func.php

+ 1 - 1
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 : [];
     }
 
     /**