Changeset 24594 for trunk/wp-includes/functions.php
- Timestamp:
- 07/08/2013 08:27:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r24510 r24594 3039 3039 3040 3040 /** 3041 * Check if IIS 7 supports pretty permalinks.3041 * Check if IIS 7+ supports pretty permalinks. 3042 3042 * 3043 3043 * @since 2.8.0 … … 3050 3050 $supports_permalinks = false; 3051 3051 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 * 3057 3056 * Next we check if the URL Rewrite Module 1.1 is loaded and enabled for the web site. When 3058 3057 * 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.