From 0e2eb0daee6af72a6b7fbbf3959244d6539c02c1 Mon Sep 17 00:00:00 2001 From: the_systech Date: Thu, 28 Mar 2002 19:52:21 +0000 Subject: 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 --- phpBB/profile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/profile.php') diff --git a/phpBB/profile.php b/phpBB/profile.php index 213807a49f..d544bbd570 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -83,7 +83,7 @@ if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) { if ( !$userdata['session_logged_in'] && $mode == 'editprofile' ) { - $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=profile.$phpEx&mode=editprofile", true)); exit; } @@ -109,9 +109,9 @@ if ( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) ) } else { - $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("index.$phpEx", true)); exit; } -?> \ No newline at end of file +?> -- cgit v1.2.1