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;