【发布时间】:2019-03-09 00:52:37
【问题描述】:
我目前正在使用自定义 CMS 来显示客户的联系信息。
当我回显客户端 URL 时,它也会添加主机域名。
这是当前使用的代码:-
<a href="<?php $this->_($this->data['url']); ?>" target="_blank">
<?php $this->_($this->data['url']); ?>
</a>
据我了解,这应该只显示 URL? IE。 client.com,但它显示为 cms.com/client.com
为什么这个方法还包括域名/主机名?
【问题讨论】:
标签: php