change news link
This commit is contained in:
parent
54dfe7a9fe
commit
fd6d32848c
|
@ -509,7 +509,8 @@ class Archive
|
||||||
*/
|
*/
|
||||||
public function makeArchiveUrl($parts)
|
public function makeArchiveUrl($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']."/archive-".$parts['archive_id'].".html";
|
$url = $http_host."/".$controller."/".$parts['ptype']."/".$parts['type_code']."/archive-".$parts['archive_id'].".html";
|
||||||
//$url = $http_host."/".$controller."/".$parts['type_code']."/".$parts['archive_id'];
|
//$url = $http_host."/".$controller."/".$parts['type_code']."/".$parts['archive_id'];
|
||||||
|
|
Loading…
Reference in New Issue