do not check asso() in X.org
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 18 Jan 2007 23:23:13 +0000 (23:23 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 18 Jan 2007 23:23:13 +0000 (23:23 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1355 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/core.php

index 81dc615..09631e4 100644 (file)
@@ -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');