install.php
changeset 328 17eebd541742
parent 311 e1bd2e524072
child 329 e48b1937dfc3
--- a/install.php	Sat Nov 29 22:50:19 2008 -0500
+++ b/install.php	Sat Mar 21 18:57:34 2009 -0400
@@ -1531,7 +1531,7 @@
       <?php
       if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
       {
-        $patch_necessary = ( strtolower(PHP_OS) == 'win32' && substr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
+        $patch_necessary = ( strtolower(PHP_OS) == 'win32' && strstr(@$_SERVER['SERVER_SOFTWARE'], 'Apache/2.2') );
         ?>
           <div class="usermessage">
             <b>Your copy of Enano has the Windows mod_rewrite workaround patch enabled.</b><br />