mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 10:31:37 +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();
|
||||
|
||||
if (!empty($LoggedUser['DisableWiki'])) {
|
||||
error(403);
|
||||
}
|
||||
|
||||
define('INDEX_ARTICLE', '1');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user