equal
deleted
inserted
replaced
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 /> |