run Form::processForm() when importing settings so the same validations apply if the import file has malicious content

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-02-07 13:02:11 +01:00
parent 802168cb5b
commit aa48ffca2b
4 changed files with 39 additions and 61 deletions

View File

@@ -329,6 +329,12 @@ class Settings
}
}
public static function getAll() : array
{
self::init();
return self::$data;
}
/**
* get value from config by identifier
*/