Fix available templates configuration and adding custom themes

This commit is contained in:
Michael Kuilboer
2025-03-06 02:27:31 +01:00
parent ebb9e231aa
commit 9221629d8d
4 changed files with 24 additions and 25 deletions

View File

@@ -210,7 +210,7 @@ class Controller
{
$this->_conf = new Configuration;
$templates = $this->_conf->getSection('available_templates');
$templates = $this->_conf->getKey('availabletemplates');
$template = $this->_conf->getKey('template');
TemplateSwitcher::setAvailableTemplates($templates);
TemplateSwitcher::setTemplateFallback($template);