aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.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/privmsg.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/privmsg.php')
-rw-r--r--phpBB/privmsg.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index 5dfd2a9ad5..c8bea4ff60 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -183,7 +183,7 @@ else if ( $mode == "read" )
if ( !$userdata['session_logged_in'] )
{
- $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=privmsg.$phpEx&folder=$folder&mode=$mode&" . POST_POST_URL . "=$privmsgs_id", true));
}
@@ -257,7 +257,7 @@ else if ( $mode == "read" )
//
if ( !( $privmsg = $db->sql_fetchrow($pm_status) ) )
{
- $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("privmsg.$phpEx?folder=$folder", true));
}
@@ -590,7 +590,7 @@ else if ( ( $delete && $mark_list ) || $delete_all )
{
if (!$userdata['session_logged_in'])
{
- $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=privmsg.$phpEx&folder=inbox", true));
}
if ( isset($mark_list) && !is_array($mark_list) )
@@ -787,7 +787,7 @@ else if ( $save && $mark_list && $folder != "savebox" && $folder != "outbox")
{
if ( !$userdata['session_logged_in'] )
{
- $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=privmsg.$phpEx&folder=inbox", true));
}
@@ -880,7 +880,7 @@ else if ( $submit || $refresh || $mode != "" )
if (!$userdata['session_logged_in'])
{
$user_id = ( isset($HTTP_GET_VARS[POST_USERS_URL]) ) ? "&" . POST_USERS_URL . "=" . $HTTP_GET_VARS[POST_USERS_URL] : "";
- $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=privmsg.$phpEx&folder=$folder&mode=$mode" . $user_id, true));
}
@@ -1265,7 +1265,7 @@ else if ( $submit || $refresh || $mode != "" )
}
if ( !($privmsg = $db->sql_fetchrow($pm_edit_status)) )
{
- $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("privmsg.$phpEx?folder=$folder", true));
}
@@ -1304,7 +1304,7 @@ else if ( $submit || $refresh || $mode != "" )
if ( !($privmsg = $db->sql_fetchrow($pm_reply_status)) )
{
- $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("privmsg.$phpEx?folder=$folder", true));
}
@@ -1658,7 +1658,7 @@ else if ( $submit || $refresh || $mode != "" )
//
if ( !$userdata['session_logged_in'] )
{
- $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=privmsg.$phpEx&folder=inbox", true));
}