Make WordPress Core


Ignore:
Timestamp:
07/08/2013 08:27:06 PM (12 years ago)
Author:
nacin
Message:

Support IIS 8 and above.

props hurtige for initial patch.
fixes #23533.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r24510 r24594  
    30393039
    30403040/**
    3041  * Check if IIS 7 supports pretty permalinks.
     3041 * Check if IIS 7+ supports pretty permalinks.
    30423042 *
    30433043 * @since 2.8.0
     
    30503050    $supports_permalinks = false;
    30513051    if ( $is_iis7 ) {
    3052         /* First we check if the DOMDocument class exists. If it does not exist,
    3053          * which is the case for PHP 4.X, then we cannot easily update the xml configuration file,
    3054          * hence we just bail out and tell user that pretty permalinks cannot be used.
    3055          * This is not a big issue because PHP 4.X is going to be deprecated and for IIS it
    3056          * is recommended to use PHP 5.X NTS.
     3052        /* First we check if the DOMDocument class exists. If it does not exist, then we cannot
     3053         * easily update the xml configuration file, hence we just bail out and tell user that
     3054         * pretty permalinks cannot be used.
     3055         *
    30573056         * Next we check if the URL Rewrite Module 1.1 is loaded and enabled for the web site. When
    30583057         * URL Rewrite 1.1 is loaded it always sets a server variable called 'IIS_UrlRewriteModule'.
Note: See TracChangeset for help on using the changeset viewer.