misuzu/public-legacy/manage/general/settings.php

13 lines
322 B
PHP

<?php
namespace Misuzu;
if(!$msz->getAuthInfo()->getPerms('global')->check(Perm::G_CONFIG_MANAGE))
Template::throwError(403);
$hidden = $cfg->getArray('settings.hidden');
$vars = $cfg->getAllValueInfos();
Template::render('manage.general.settings', [
'config_vars' => $vars,
'config_hidden' => $hidden,
]);