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

13 lines
317 B
PHP

<?php
namespace Misuzu;
if(!$msz->authInfo->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,
]);