mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-07 13:59:07 +00:00
Fix 'Wiki' permission
When the access to 'Wiki' is restricted user/s can't view it and proper error message is displayed.
This commit is contained in:
parent
11fa98c9ac
commit
2707004cec
@ -1,6 +1,8 @@
|
|||||||
<?
|
<?
|
||||||
enforce_login();
|
enforce_login();
|
||||||
|
if (!empty($LoggedUser['DisableWiki'])) {
|
||||||
|
error(403);
|
||||||
|
}
|
||||||
|
|
||||||
define('INDEX_ARTICLE', '1');
|
define('INDEX_ARTICLE', '1');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user