From 0017372a785187e14c68f2103dc1ba8f64eacf06 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Thu, 18 Jan 2007 23:23:13 +0000 Subject: [PATCH] do not check asso() in X.org git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1355 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core.php b/modules/core.php index 81dc615..09631e4 100644 --- a/modules/core.php +++ b/modules/core.php @@ -45,7 +45,7 @@ class CoreModule extends PLModule { global $globals; header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); - if ($globals->asso()) { + if ($_GLOBALS['IS_XNET_SITE'] && $globals->asso()) { new_skinned_page('core/403.tpl'); } else { $page->changeTpl('core/403.tpl'); @@ -56,7 +56,7 @@ class CoreModule extends PLModule { global $globals, $platal; header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found'); - if ($globals->asso()) { + if ($_GLOBALS['IS_XNET_SITE'] && $globals->asso()) { new_group_open_page('core/404.tpl'); } else { $page->changeTpl('core/404.tpl'); -- 2.1.4