Fixed typo in function call to check for apache 2.2
authorDan
Sat, 21 Mar 2009 18:57:34 -0400
changeset 328 17eebd541742
parent 314 f379fdf3b4d7
child 329 e48b1937dfc3
Fixed typo in function call to check for apache 2.2
install.php
--- 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 />