Changeset 15026
- Timestamp:
- 05/28/2010 02:58:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r15025 r15026 176 176 } else { 177 177 $subdomain_install = false; 178 if ( got_mod_rewrite() ) // dangerous assumptions178 if ( $got_mod_rewrite = got_mod_rewrite() ) // dangerous assumptions 179 179 echo '<div class="updated inline"><p><strong>' . __( 'Note:' ) . '</strong> ' . __( 'Please make sure the Apache <code>mod_rewrite</code> module is installed as it will be used at the end of this installation.' ) . '</p>'; 180 180 elseif ( $is_apache ) 181 181 echo '<div class="error inline"><p><strong>' . __( 'Warning!' ) . '</strong> ' . __( 'It looks like the Apache <code>mod_rewrite</code> module is not installed.' ) . '</p>'; 182 if ( $ is_apache)182 if ( $got_mod_rewrite || $is_apache ) // Protect against mod_rewrite mimicry (but ! Apache) 183 183 echo '<p>' . __( 'If <code>mod_rewrite</code> is disabled, ask your administrator to enable that module, or look at the <a href="http://httpd.apache.org/docs/mod/mod_rewrite.html">Apache documentation</a> or <a href="http://www.google.com/search?q=apache+mod_rewrite">elsewhere</a> for help setting it up.' ) . '</p></div>'; 184 184 }
Note: See TracChangeset
for help on using the changeset viewer.