diff options
| author | Stephan Borg <wolff_borg@users.sourceforge.net> | 2008-07-06 05:27:10 +0000 |
|---|---|---|
| committer | Stephan Borg <wolff_borg@users.sourceforge.net> | 2008-07-06 05:27:10 +0000 |
| commit | 7191d8c61cc04cc855da86481dea0e774950578a (patch) | |
| tree | db6a24f828b582caae5aafb8eacb398ad811daac /install_welcome.php | |
| parent | c026cbf7e5bb6ff0b8dd4beb6c28fb323647faf9 (diff) | |
| download | install-7191d8c61cc04cc855da86481dea0e774950578a.tar.gz install-7191d8c61cc04cc855da86481dea0e774950578a.tar.bz2 install-7191d8c61cc04cc855da86481dea0e774950578a.zip | |
Added check for IIS as $_SERVER['HTTPS'] uses 'off' value
Diffstat (limited to 'install_welcome.php')
| -rw-r--r-- | install_welcome.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install_welcome.php b/install_welcome.php index 4e36436..1f6c51d 100644 --- a/install_welcome.php +++ b/install_welcome.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_install/install_welcome.php,v 1.6 2007/10/01 18:57:58 nickpalmer Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_install/install_welcome.php,v 1.7 2008/07/06 05:27:10 wolff_borg Exp $ * @package install * @subpackage functions */ @@ -11,7 +11,8 @@ // assign next step in installation process if( !empty( $_REQUEST['install'] ) ) { - header( 'Location: http'.(!empty($_SERVER['HTTPS'])?'s':'').'://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) ); + // Added check for IIS $_SERVER['HTTPS'] uses 'off' value - wolff_borg + header( 'Location: http'.((!empty($_SERVER['HTTPS'])&&$_SERVER['HTTPS'] != 'off')?'s':'').'://'.$_SERVER['HTTP_HOST'].INSTALL_PKG_URL.'install.php?step='.( $step + 1 ) ); die; } $gBitSmarty->assign( 'next_step',$step ); |
