diff options
| author | the_systech <the_systech@users.sourceforge.net> | 2002-03-28 19:52:21 +0000 |
|---|---|---|
| committer | the_systech <the_systech@users.sourceforge.net> | 2002-03-28 19:52:21 +0000 |
| commit | 0e2eb0daee6af72a6b7fbbf3959244d6539c02c1 (patch) | |
| tree | fd0f23310fd124dd7c2a5b58531774be87749996 /phpBB/viewtopic.php | |
| parent | 30af46fcd9ec50f6bd9605d8bb16d8e87fbbf9e6 (diff) | |
| download | forums-0e2eb0daee6af72a6b7fbbf3959244d6539c02c1.tar forums-0e2eb0daee6af72a6b7fbbf3959244d6539c02c1.tar.gz forums-0e2eb0daee6af72a6b7fbbf3959244d6539c02c1.tar.bz2 forums-0e2eb0daee6af72a6b7fbbf3959244d6539c02c1.tar.xz forums-0e2eb0daee6af72a6b7fbbf3959244d6539c02c1.zip | |
Ok all of these damned httpd server that are different are about annoying
git-svn-id: file:///svn/phpbb/trunk@2444 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index db1e751a3d..e45c53d134 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -191,7 +191,7 @@ if( !$is_auth['auth_view'] || !$is_auth['auth_read'] ) { $redirect = ( isset($post_id) ) ? POST_POST_URL . "=$post_id" : POST_TOPIC_URL . "=$topic_id"; $redirect .= ( isset($start) ) ? "&start=$start" : ''; - $header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; + $header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; header($header_location . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&$redirect", true)); } @@ -308,7 +308,7 @@ else { if ( $HTTP_GET_VARS['unwatch'] == 'topic' ) { - $header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; + $header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; header($header_location . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&" . POST_TOPIC_URL . "=$topic_id&unwatch=topic", true)); } } @@ -1171,4 +1171,4 @@ $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?>
\ No newline at end of file +?> |
