diff --git src/wp-admin/includes/network.php src/wp-admin/includes/network.php
index fef6b66..1b7dac9 100644
|
|
function network_step1( $errors = false ) { |
335 | 335 | */ |
336 | 336 | function network_step2( $errors = false ) { |
337 | 337 | global $wpdb; |
| 338 | global $is_nginx; |
338 | 339 | |
339 | 340 | $hostname = get_clean_basedomain(); |
340 | 341 | $slashed_home = trailingslashit( get_option( 'home' ) ); |
… |
… |
define('BLOG_ID_CURRENT_SITE', 1); |
548 | 549 | </textarea></li> |
549 | 550 | </ol> |
550 | 551 | |
551 | | <?php else : // end iis7_supports_permalinks(). construct an htaccess file instead: |
| 552 | <?php elseif($is_nginx): // end iis7_supports_permalinks(). check if server is nginx and print link to Codex: |
| 553 | $section = $subdomain_install ? 'WordPress_Multisite_subdomains_rules' : 'WordPress_Multisite_Subdirectory_rules'; |
| 554 | echo '<li><p>'; |
| 555 | printf( |
| 556 | __('It seems your network is running with NGINX webserver. Please, visit %1$s to get details about further configuration'), |
| 557 | '<a href="https://codex.wordpress.org/Nginx#'.$section.'" target="_blank">https://codex.wordpress.org/Nginx#'.$section.'</a>' |
| 558 | ); |
| 559 | echo '</p>' |
| 560 | ?> |
| 561 | <?php else : // end of nginx variant, construct .htaccess |
552 | 562 | |
553 | 563 | $ms_files_rewriting = ''; |
554 | 564 | if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { |