diff --git a/advanced/index.php b/advanced/index.php index 49eb0f45..78135e1a 100644 --- a/advanced/index.php +++ b/advanced/index.php @@ -40,13 +40,6 @@ $validExtTypes = array("asp", "htm", "html", "php", "rss", "xml", ""); // Get extension of current URL $currentUrlExt = pathinfo($_SERVER["REQUEST_URI"], PATHINFO_EXTENSION); -// Check if this is served over HTTP or HTTPS -if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") { - $proto = "https"; -} else { - $proto = "http"; -} - // Set mobile friendly viewport $viewPort = ''; @@ -229,10 +222,10 @@ setHeader(); - - + + ● <?=$serverName ?> - +