authInfo->getPerms('global')->check(Perm::G_CONFIG_MANAGE)) Template::throwError(403); $hidden = $msz->config->getArray('settings.hidden'); $vars = $msz->config->getAllValueInfos(); Template::render('manage.general.settings', [ 'config_vars' => $vars, 'config_hidden' => $hidden, ]);