aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorthe_systech <the_systech@users.sourceforge.net>2002-03-28 19:52:21 +0000
committerthe_systech <the_systech@users.sourceforge.net>2002-03-28 19:52:21 +0000
commit0e2eb0daee6af72a6b7fbbf3959244d6539c02c1 (patch)
treefd0f23310fd124dd7c2a5b58531774be87749996 /phpBB/profile.php
parent30af46fcd9ec50f6bd9605d8bb16d8e87fbbf9e6 (diff)
downloadforums-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/profile.php')
-rw-r--r--phpBB/profile.php6
1 files changed, 3 insertions, 3 deletions
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
+?>