1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

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
This commit is contained in:
Paul S. Owen
2001-11-19 23:56:00 +00:00
parent ed05244013
commit 3ccffbff76
4 changed files with 8 additions and 8 deletions

View File

@@ -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++)
{