|
From: Paul S. O. <ps...@us...> - 2002-03-22 22:27:13
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv4388
Modified Files:
viewforum.php
Log Message:
Redirect to login header change for IIS/Webstart
Index: viewforum.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewforum.php,v
retrieving revision 1.133
retrieving revision 1.134
diff -C2 -r1.133 -r1.134
*** viewforum.php 21 Mar 2002 01:38:45 -0000 1.133
--- viewforum.php 22 Mar 2002 22:27:10 -0000 1.134
***************
*** 104,108 ****
{
$redirect = POST_FORUM_URL . "=$forum_id" . ( ( isset($start) ) ? "&start=$start" : "" );
! header("Location: " . append_sid("login.$phpEx?redirect=viewforum.$phpEx&$redirect", true));
}
//
--- 104,109 ----
{
$redirect = POST_FORUM_URL . "=$forum_id" . ( ( isset($start) ) ? "&start=$start" : "" );
! $header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
! header($header_location . append_sid("login.$phpEx?redirect=viewforum.$phpEx&$redirect", true));
}
//
***************
*** 190,194 ****
AND aa.auth_mod = " . TRUE . "
AND g.group_single_user = 1
- AND g.group_type <> ". GROUP_HIDDEN ."
AND ug.group_id = aa.group_id
AND g.group_id = aa.group_id
--- 191,194 ----
***************
*** 379,383 ****
//
$nav_links['up'] = array(
! 'url' => append_sid("index.".$phpEx),
'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
);
--- 379,383 ----
//
$nav_links['up'] = array(
! 'url' => append_sid('index.'.$phpEx),
'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
);
|