update type links
This commit is contained in:
parent
fd6d32848c
commit
ecf8019dd6
|
@ -519,7 +519,8 @@ class Archive
|
||||||
|
|
||||||
public function makeCategoryUrl($parts)
|
public function makeCategoryUrl($parts)
|
||||||
{
|
{
|
||||||
$http_host = "http://".$_SERVER ['HTTP_HOST'];
|
// $http_host = "http://".$_SERVER ['HTTP_HOST'];
|
||||||
|
$http_host = "";
|
||||||
$controller = "archives";
|
$controller = "archives";
|
||||||
$url = $http_host."/".$controller."/".$parts['ptype']."/".$parts['type_code']."";
|
$url = $http_host."/".$controller."/".$parts['ptype']."/".$parts['type_code']."";
|
||||||
return $url;
|
return $url;
|
||||||
|
|
Loading…
Reference in New Issue