[WIP] Some work on settings

Add hidden settings
New method: parse, to parse settings from array
Move base html to twig template
Remove vocation loading from .xml, instead use predefined voc names
This commit is contained in:
slawkens
2023-05-15 00:22:27 +02:00
parent 44d5d7ae64
commit 1fa6788310
10 changed files with 748 additions and 665 deletions

View File

@@ -244,7 +244,8 @@ class Plugins {
return $plugin_json;
}
public static function install($file) {
public static function install($file): bool
{
global $db;
if(!\class_exists('ZipArchive')) {