Changeset 3486 for branches/2.2/phpgwapi/inc/common_functions.inc.php
- Timestamp:
- 11/10/10 12:57:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/inc/common_functions.inc.php
r3437 r3486 706 706 } 707 707 708 /*! 709 @function nearest_to_me 710 @abstract return host nearest to client 711 @Include by Serpro ( Antonio Carlos da Silva). 712 */ 713 function nearest_to_me() 714 { 715 $proxies=explode(',',$_SERVER['HTTP_X_FORWARDED_HOST']); 716 return isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $proxies[0] : $_SERVER['HTTP_HOST']; 717 } 718 708 719 /*! 709 720 @function session_convert
Note: See TracChangeset
for help on using the changeset viewer.