aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-19 23:56:00 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-19 23:56:00 +0000
commit3ccffbff760488088221935bc992f54de399659a (patch)
treea74a355d668193562ecf93eb93aa92ef2ab83708 /phpBB/privmsg.php
parented0524401329f278db5736d956129ce29e5e8bf9 (diff)
downloadforums-3ccffbff760488088221935bc992f54de399659a.tar
forums-3ccffbff760488088221935bc992f54de399659a.tar.gz
forums-3ccffbff760488088221935bc992f54de399659a.tar.bz2
forums-3ccffbff760488088221935bc992f54de399659a.tar.xz
forums-3ccffbff760488088221935bc992f54de399659a.zip
Another attempt at getting universal compatibility with URI/paths ... I'm really beginning to dispise IIS ...
git-svn-id: file:///svn/phpbb/trunk@1380 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index a1fe253214..c108cb9836 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -1013,7 +1013,7 @@ else if( $submit || $refresh || $mode != "" )
{
$path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
- $protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? "https://" : "http://";
+ $protocol = ( !empty($HTTP_SERVER_VARS['HTTPS']) ) ? ( ( $HTTP_SERVER_VARS['HTTPS'] == "on" ) ? "https://" : "http://" ) : "http://";
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";