Changeset 15025
- Timestamp:
- 05/28/2010 02:52:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r15024 r15025 117 117 */ 118 118 function network_step1( $errors = false ) { 119 global $is_apache; 119 120 120 121 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { … … 167 168 <?php 168 169 169 // @todo IIS and ! $is_apache170 170 if ( isset( $_POST['subdomain_install'] ) ) { 171 171 $subdomain_install = (bool) $_POST['subdomain_install']; … … 178 178 if ( 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 else 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 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>'; 182 if ( $is_apache ) 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>'; 183 184 } 184 185
Note: See TracChangeset
for help on using the changeset viewer.