Include SERVER_PORT when not doing multi-server or multi-port but are running on a port other than 80.
parent
23fd5db5c8
commit
f9b1453705
|
@ -47,6 +47,8 @@ class Server {
|
|||
}
|
||||
if ( $port ) {
|
||||
$url .= ':'.$port;
|
||||
} else {
|
||||
$url .= ':'.$_SERVER['SERVER_PORT'];
|
||||
}
|
||||
$url .= $_SERVER['PHP_SELF'];
|
||||
return $url;
|
||||
|
|
Loading…
Reference in New Issue