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