Changeset 3990 for trunk/wp-includes/vars.php
- Timestamp:
- 07/06/2006 12:04:24 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/vars.php
r3910 r3990 34 34 $is_apache = ( strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') || strstr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') ) ? 1 : 0; 35 35 $is_IIS = strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0; 36 37 // On OS X Server, $_SERVER['REMOTE_ADDR'] is the server's address. Workaround this38 // by using $_SERVER['HTTP_PC_REMOTE_ADDR'], which *is* the remote address.39 if ( isset($_SERVER['HTTP_PC_REMOTE_ADDR']) )40 $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_PC_REMOTE_ADDR'];41 36 42 37 // if the config file does not provide the smilies array, let's define it here
Note: See TracChangeset
for help on using the changeset viewer.