changing access level of config to admin
parent
b45e3699d4
commit
51cefd6cd6
|
@ -65,6 +65,8 @@ class ConfigController extends AbstractController {
|
||||||
function __construct(Database $db, Template $tpl) {
|
function __construct(Database $db, Template $tpl) {
|
||||||
parent::__construct($db, $tpl);
|
parent::__construct($db, $tpl);
|
||||||
|
|
||||||
|
$this->setMinUserLevelRequired(PSM_USER_ADMIN);
|
||||||
|
|
||||||
$this->setActions(array(
|
$this->setActions(array(
|
||||||
'index', 'save',
|
'index', 'save',
|
||||||
), 'index');
|
), 'index');
|
||||||
|
|
Loading…
Reference in New Issue