From: x2001corpet Date: Sun, 30 Jul 2006 08:49:14 +0000 (+0000) Subject: typo X-Git-Tag: xorg/0.9.11~209 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c7a42dc877886472c665133b5ddd165daf92a88a;p=platal.git typo git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@705 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/wiki.inc.php b/include/wiki.inc.php index 2c7aa48..750df72 100644 --- a/include/wiki.inc.php +++ b/include/wiki.inc.php @@ -112,15 +112,14 @@ function wiki_apply_perms($perm) { case 'logged': if ((empty($GLOBALS['IS_XNET_SITE']) && !XorgSession::doAuthCookie()) || - ($GLOBALS['IS_XNET_SITE'] && !XnetSession::doAuth())) { + ($GLOBALS['IS_XNET_SITE'] && !$_SESSION['session']->doAuth())) { $platal = new Platal(); $platal->force_login($page); } return; default: - if ((empty($GLOBALS['IS_XNET_SITE']) && !XorgSession::doAuthe()) || - ($GLOBALS['IS_XNET_SITE'] && !XnetSession::doAuth())) { + if (!$_SESSION['session']->doAuth()) { $platal = new Platal(); $platal->force_login($page); }