Changeset 623 for trunk/lib/Utilities.inc.php
- Timestamp:
- Feb 17, 2018 10:59:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Utilities.inc.php
r613 r623 1426 1426 function absoluteMe() 1427 1427 { 1428 $protocol = ('on' == getenv('HTTPS')) ? 'https://' : 'http://'; 1429 return $protocol . getenv('HTTP_HOST') . getenv('REQUEST_URI'); 1428 return sprintf('%s://%s%s', (getenv('HTTPS') ? 'https' : 'http'), getenv('HTTP_HOST'), getenv('REQUEST_URI')); 1430 1429 } 1431 1430
Note: See TracChangeset
for help on using the changeset viewer.