diff --git a/application/models/Archive.php b/application/models/Archive.php index f2f2e087..a5bcf245 100644 --- a/application/models/Archive.php +++ b/application/models/Archive.php @@ -509,7 +509,8 @@ class Archive */ public function makeArchiveUrl($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']."/archive-".$parts['archive_id'].".html"; //$url = $http_host."/".$controller."/".$parts['type_code']."/".$parts['archive_id'];