diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-19 23:56:00 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-11-19 23:56:00 +0000 |
| commit | 3ccffbff760488088221935bc992f54de399659a (patch) | |
| tree | a74a355d668193562ecf93eb93aa92ef2ab83708 /phpBB/posting.php | |
| parent | ed0524401329f278db5736d956129ce29e5e8bf9 (diff) | |
| download | forums-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/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 9db20d6a01..309886f096 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1388,7 +1388,7 @@ if( ( $submit || $confirm || $mode == "delete" ) && !$error ) $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://"; for($i = 0; $i < count($email_set); $i++) { |
