Commit 83bcf56d authored by mig5's avatar mig5 Committed by mig5

#888194 - http_port was being fetched from web_server attribute instead of server

parent d9077791
......@@ -72,7 +72,7 @@ function provision_fqdn($host = null) {
function provision_get_base_url() {
$base_url = 'http://' . d()->uri;
$http_port = d()->web_server->http_port;
$http_port = d()->server->http_port;
if (!is_null($http_port) && ($http_port != 80)) {
$base_url .= ':' . $http_port;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment