开发者

MediaWiki and redirecting all non-members

I built my own login system, and I also have a MediaWiki installed for my members to use. However, I want it only accessible to my members, so I want to redirect all persons who do not pass the session variable check. Where can I place this check? I tried putting it in index.php of MediaWiki, but that does not work for any other part of the wiki then its开发者_如何学运维 index.php: domain.com/wiki/index.php

Any advice is appreciated! Thank you!


Try LocalSettings.php, it's executed for every request hitting the Wiki.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜