Minahito
minah****@users*****
2005年 10月 13日 (木) 01:54:50 JST
Index: xoops2jp/html/modules/newbb/viewtopic.php diff -u xoops2jp/html/modules/newbb/viewtopic.php:1.3 xoops2jp/html/modules/newbb/viewtopic.php:1.3.2.1 --- xoops2jp/html/modules/newbb/viewtopic.php:1.3 Mon Sep 5 05:46:10 2005 +++ xoops2jp/html/modules/newbb/viewtopic.php Thu Oct 13 01:54:50 2005 @@ -1,5 +1,5 @@ <?php -// $Id: viewtopic.php,v 1.3 2005/09/04 20:46:10 onokazu Exp $ +// $Id: viewtopic.php,v 1.3.2.1 2005/10/12 16:54:50 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -33,7 +33,7 @@ $forum = isset($_GET['forum']) ? intval($_GET['forum']) : 0; $topic_id = isset($_GET['topic_id']) ? intval($_GET['topic_id']) : 0; if ( empty($forum) ) { - redirect_header('index.php',2,_MD_ERRORFORUM); + redirect_header(XOOPS_URL."/modules/".$xoopsModule->getVar('dirname')."/index.php",2,_MD_ERRORFORUM); exit(); } elseif ( empty($topic_id) ) { redirect_header('viewforum.php?forum='.$forum,2,_MD_ERRORTOPIC); @@ -111,7 +111,7 @@ $accesserror = 1; } if ( $accesserror == 1 ) { - redirect_header("index.php",2,_MD_NORIGHTTOACCESS); + redirect_header(XOOPS_URL."/modules/".$xoopsModule->getVar('dirname')."/index.php",2,_MD_NORIGHTTOACCESS); exit(); } $can_post = 1;