- added SEO-URL-Mode

- added Language support
This commit is contained in:
Maurice Grönwoldt 2020-07-24 11:08:07 +02:00
commit ccf2f506f0
13 changed files with 201 additions and 7 deletions

View file

@ -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
*/