diff --git a/module/common/control.php b/module/common/control.php index 618447c1b5..6daf16f57f 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -225,7 +225,6 @@ class common extends control */ public function getSysURL() { - global $config; $httpType = isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on' ? 'https' : 'http'; $httpHost = $_SERVER['HTTP_HOST']; return "$httpType://$httpHost";