Changeset 2082 for branches/branch-1_7
- Timestamp:
- Aug 30, 2007, 7:30:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/include/functions_url.inc.php
r1982 r2082 62 62 { 63 63 $url .= 'http://'.$_SERVER['HTTP_HOST']; 64 if ($_SERVER['SERVER_PORT']!=80) 65 { 66 $url .= ':'.$_SERVER['SERVER_PORT']; 64 if ($_SERVER['SERVER_PORT'] != 80) 65 { 66 $url_port = ':'.$_SERVER['SERVER_PORT']; 67 if (strrchr($url, ':') != $url_port) 68 { 69 $url .= $url_port; 70 } 67 71 } 68 72 }
Note: See TracChangeset
for help on using the changeset viewer.