Add Sections + Add setting($key) function

Reorganisation
This commit is contained in:
slawkens
2020-06-09 23:48:31 +02:00
parent 96068d003b
commit 084e191b28
6 changed files with 61 additions and 32 deletions

View File

@@ -1100,6 +1100,12 @@ function configLua($key) {
return @$config['lua'][$key];
}
function setting($key)
{
$settings = Settings::getInstance();
return $settings[$key];
}
function clearCache()
{
require_once LIBS . 'news.php';