Ticket #8593: pastie-1361767.diff
File pastie-1361767.diff, 401 bytes (added by , 12 years ago) |
---|
-
canonical.php
44 44 // build the URL in the address bar 45 45 $requested_url = is_ssl() ? 'https://' : 'http://'; 46 46 $requested_url .= $_SERVER['HTTP_HOST']; 47 $requested_url .= $_SERVER['HTTP_PORT'] == '80' ? '' : ':'.$_SERVER['HTTP_PORT']; 47 48 $requested_url .= $_SERVER['REQUEST_URI']; 48 49 } 49 50