Fixed: checked for win32 but not winnnt
authorDan
Sun, 21 Dec 2008 06:30:33 -0500
changeset 772 fe9364353f90
parent 771 5e85d7db8ee5
child 773 7b1ac402b451
Fixed: checked for win32 but not winnnt
install/includes/stages/website.php
--- a/install/includes/stages/website.php	Sun Dec 21 06:22:17 2008 -0500
+++ b/install/includes/stages/website.php	Sun Dec 21 06:30:33 2008 -0500
@@ -148,7 +148,7 @@
   ?>
   
   <?php
-  $patch_necessary = ( strtolower(PHP_OS) == 'win32' && substr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
+  $patch_necessary = ( ( strtolower(PHP_OS) == 'win32' || strtolower(PHP_OS) == 'winnt' ) && substr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
   if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
   {
     ?>