only admin can manage config
This commit is contained in:
parent
a43e4015cd
commit
9367b25869
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ if (!defined('DC_CONTEXT_MODULE')) {
|
|||
return null;
|
||||
}
|
||||
|
||||
# Check user perms
|
||||
dcPage::check('admin');
|
||||
|
||||
$redir = empty($_REQUEST['redir']) ?
|
||||
$list->getURL() . '#plugins' : $_REQUEST['redir'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue