install/includes/stages/website.php
changeset 871 4e45f191dc33
parent 801 eb8b23f11744
child 878 ecc764c10138
equal deleted inserted replaced
870:82bbfe3dc8a0 871:4e45f191dc33
   146   $https = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' );
   146   $https = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' );
   147   $scriptpath_full = 'http' . ( $https ? 's' : '' ) . '://' . $_SERVER['HTTP_HOST'] . scriptPath . '/';
   147   $scriptpath_full = 'http' . ( $https ? 's' : '' ) . '://' . $_SERVER['HTTP_HOST'] . scriptPath . '/';
   148   ?>
   148   ?>
   149   
   149   
   150   <?php
   150   <?php
   151   $patch_necessary = ( ( strtolower(PHP_OS) == 'win32' || strtolower(PHP_OS) == 'winnt' ) && substr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
   151   $patch_necessary = ( ( strtolower(PHP_OS) == 'win32' || strtolower(PHP_OS) == 'winnt' ) && strstr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
   152   if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
   152   if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
   153   {
   153   {
   154     ?>
   154     ?>
   155       <div class="usermessage">
   155       <div class="usermessage">
   156         <b><?php echo $lang->get('website_msg_modrewrite_enabled'); ?></b><br />
   156         <b><?php echo $lang->get('website_msg_modrewrite_enabled'); ?></b><br />