- added SEO-URL-Mode
- added Language support
This commit is contained in:
parent
fe7bacd2f6
commit
ccf2f506f0
13 changed files with 201 additions and 7 deletions
|
|
@ -16,6 +16,7 @@ class Config
|
|||
private bool $devMode = false;
|
||||
private bool $isAdmin = false;
|
||||
private string $baseUrl = '';
|
||||
private bool $seoMode = false;
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
|
|
@ -118,6 +119,14 @@ class Config
|
|||
$this->set('baseUrl', $url);
|
||||
}
|
||||
|
||||
public function setSeoMode(bool $mode) {
|
||||
$this->set('seoMode', $mode);
|
||||
}
|
||||
|
||||
public function getSeoEnabled() {
|
||||
return $this->seoMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue