install/includes/stages/website.php
changeset 871 4e45f191dc33
parent 801 eb8b23f11744
child 878 ecc764c10138
--- a/install/includes/stages/website.php	Fri Mar 20 09:13:17 2009 -0400
+++ b/install/includes/stages/website.php	Fri Mar 20 09:13:37 2009 -0400
@@ -148,7 +148,7 @@
   ?>
   
   <?php
-  $patch_necessary = ( ( strtolower(PHP_OS) == 'win32' || strtolower(PHP_OS) == 'winnt' ) && substr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
+  $patch_necessary = ( ( strtolower(PHP_OS) == 'win32' || strtolower(PHP_OS) == 'winnt' ) && strstr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
   if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
   {
     ?>