From ecf8019dd64af4ddcfe2a21add07aceb6ab5a5be Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 2 Feb 2018 17:45:42 +0800 Subject: [PATCH] update type links --- application/models/Archive.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/models/Archive.php b/application/models/Archive.php index a5bcf245..ab122055 100644 --- a/application/models/Archive.php +++ b/application/models/Archive.php @@ -519,7 +519,8 @@ class Archive public function makeCategoryUrl($parts) { - $http_host = "http://".$_SERVER ['HTTP_HOST']; +// $http_host = "http://".$_SERVER ['HTTP_HOST']; + $http_host = ""; $controller = "archives"; $url = $http_host."/".$controller."/".$parts['ptype']."/".$parts['type_code'].""; return $url;