--- 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 />