install.php
changeset 329 e48b1937dfc3
parent 328 17eebd541742
parent 318 eec2dfd2f0a3
child 331 f0eee185880a
--- a/install.php	Sat Mar 21 18:57:34 2009 -0400
+++ b/install.php	Sat Mar 21 18:58:41 2009 -0400
@@ -2,7 +2,7 @@
 
 /*
  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
- * Version 1.0.5 (Ferrishyn)
+ * Version 1.0.6 (Roane)
  * Copyright (C) 2006-2007 Dan Fuhry
  * install.php - handles everything related to installation and initial configuration
  *
@@ -30,8 +30,8 @@
 
 define('IN_ENANO_INSTALL', 'true');
 
-define('ENANO_VERSION', '1.0.5');
-define('ENANO_RELEASE_NAME', 'Ferrishyn');
+define('ENANO_VERSION', '1.0.6');
+define('ENANO_RELEASE_NAME', 'Roane');
 // In beta versions, define ENANO_BETA_VERSION here
 
 if(!defined('scriptPath')) {
@@ -1149,7 +1149,7 @@
   case 'welcome':
     ?>
     <div style="text-align: center; margin-top: 10px;">
-      <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 100px;" />
+      <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 114px;" />
       <h2>Welcome to Enano</h2>
       <h3>Version <?php echo ENANO_VERSION; ?> &ndash; stable<br />
       <span style="font-weight: normal;">also affectionately known as "<?php echo strtolower(ENANO_RELEASE_NAME); ?>" <tt>:)</tt></span></h3>
@@ -1531,7 +1531,7 @@
       <?php
       if ( defined('WINDOWS_MOD_REWRITE_WORKAROUNDS') )
       {
-        $patch_necessary = ( strtolower(PHP_OS) == 'win32' && strstr(@$_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 />