From 8ca2f22a21b33a22bb488574c7db65d41068a8ec Mon Sep 17 00:00:00 2001 From: tbrehm Date: Tue, 5 Apr 2011 13:40:38 +0000 Subject: [PATCH] Fixed bug in functions library. --- interface/lib/classes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/lib/classes/functions.inc.php b/interface/lib/classes/functions.inc.php index adc365c0e..7de83e995 100644 --- a/interface/lib/classes/functions.inc.php +++ b/interface/lib/classes/functions.inc.php @@ -98,7 +98,7 @@ class functions { public function get_ispconfig_url() { $url = (stristr($_SERVER['SERVER_PROTOCOL'],'HTTPS'))?'https':'http'; - $url .= '//'.$_SERVER['SERVER_NAME']; + $url .= '://'.$_SERVER['SERVER_NAME']; if($_SERVER['SERVER_PORT'] != 80 && $_SERVER['SERVER_PORT'] != 443) { $url .= ':'.$_SERVER['SERVER_PORT']; } -- GitLab