Changeset 1831
- Timestamp:
- 12/08/2008 06:40:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bb-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-settings.php
r1812 r1831 73 73 74 74 75 // Server detection 76 77 /** 78 * Whether the server software is Apache or something else 79 * @global bool $is_apache 80 */ 81 $is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; 82 75 83 /** 76 84 * Whether the server software is IIS or something else 77 85 * @global bool $is_IIS 78 86 */ 79 $is_IIS = strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0;87 $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false; 80 88 81 89
Note: See TracChangeset
for help on using the changeset viewer.