Merging nighthawk and scribus branches
authorDan
Sat, 21 Mar 2009 18:58:41 -0400
changeset 329 e48b1937dfc3
parent 328 17eebd541742 (diff)
parent 327 202c37a8713a (current diff)
child 330 acf430dc25e7
Merging nighthawk and scribus branches
images/enano-artwork/installer-greeting-green.png
install.php
--- a/install.php	Sun Jan 18 18:59:29 2009 -0500
+++ b/install.php	Sat Mar 21 18:58:41 2009 -0400
@@ -1531,7 +1531,7 @@
       <?php
       if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
       {
-        $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') );
         ?>
           <div class="usermessage">
             <b>Your copy of Enano has the Windows mod_rewrite workaround patch enabled.</b><br />