Make WordPress Core


Ignore:
Timestamp:
05/16/2009 02:04:36 AM (16 years ago)
Author:
ryan
Message:

Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974

File:
1 edited

Legend:

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

    r10010 r11350  
    7474$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;
    7575
     76/**
     77 * Whether the server software is IIS 7.X
     78 * @global bool $is_IIS7
     79 */
     80$is_iis7 = ($is_IIS && strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/7.') !== false) ? true : false;
     81
     82
    7683?>
Note: See TracChangeset for help on using the changeset viewer.