wiki->wikidir && $globals->xnet->wiki) { $wikisite = 'xnet'; function more_wiki_config() { global $Conditions, $DefaultPasswords; $Conditions['has_perms'] = has_perms() || may_update(); $Conditions['is_member'] = is_member(); $DefaultPasswords['read'] = 'is_member:'; } require_once("wiki.inc.php"); $page->changeTpl($wiki_template); $page->setType($globals->asso('cat')); $page->addCssLink('css/wiki.css'); $page->useMenu(); wiki_assign_auth(); } if (!Env::get('action')) $page->assign('xorg_extra_header', "\n"); $page->assign('is_member', is_member()); $page->assign('has_perms', has_perms() || may_update()); $page->run(); ?>