From 0431d2cf57cc3b8031cd4b2d9d06da75319f5a6c Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Wed, 1 Dec 2010 12:34:40 +0000 Subject: [PATCH] - remove the $config global declare. --- module/common/control.php | 1 - 1 file changed, 1 deletion(-) 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";