Changeset 3007
- Timestamp:
- 11/07/05 09:35:54 (3 years ago)
- Files:
-
- trunk/wp-includes/vars.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/vars.php
r2965 r3007 37 37 $is_apache = ( strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') || strstr($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') ) ? 1 : 0; 38 38 $is_IIS = strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') ? 1 : 0; 39 40 // On OS X Server, $_SERVER['REMOTE_ADDR'] is the server's address. Workaround this 41 // by using $_SERVER['HTTP_PC_REMOTE_ADDR'], which *is* the remote address. 42 if ( isset($_SERVER['HTTP_PC_REMOTE_ADDR']) ) 43 $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_PC_REMOTE_ADDR']; 39 44 40 45 // if the config file does not provide the smilies array, let's define it here
