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:
fen7azy 2014-06-19 20:11:14 +03:00
parent 11fa98c9ac
commit 2707004cec

View File

@ -1,6 +1,8 @@
<?
enforce_login();
if (!empty($LoggedUser['DisableWiki'])) {
error(403);
}
define('INDEX_ARTICLE', '1');