Show two directions and stops on routes/trips KML
[busui.git] / include / common-net.inc.php
blob:a/include/common-net.inc.php -> blob:b/include/common-net.inc.php
--- a/include/common-net.inc.php
+++ b/include/common-net.inc.php
@@ -35,11 +35,6 @@
     debug(print_r($page, true), "json");
     return $page;
 }
-function baseURL() {
-     $protocol = $_SERVER['HTTPS'] ? "https" : "http";
-  return $protocol . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
-
-}
 function curPageURL() {
     $isHTTPS = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on");
     $port = (isset($_SERVER["SERVER_PORT"]) && ((!$isHTTPS && $_SERVER["SERVER_PORT"] != "80") || ($isHTTPS && $_SERVER["SERVER_PORT"] != "443")));
@@ -48,5 +43,4 @@
     return $url;
 }
 
-?>