Przeglądaj źródła

Core\Func: Fix FRIENDLY URL for update

Visman 1 rok temu
rodzic
commit
4bd6f93161
1 zmienionych plików z 1 dodań i 1 usunięć
  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 : [];
     }
 
     /**