mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
r6780 rollback
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6781 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fe51f74752
commit
06b7cf0a3c
2 changed files with 6 additions and 2 deletions
|
|
@ -255,7 +255,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPermanentUrl() {
|
function getPermanentUrl() {
|
||||||
return getUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl');
|
$url = getUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl');
|
||||||
|
if(substr($url,0,1)=='/') return substr(Context::getRequestUri(),0,-1).$url;
|
||||||
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -377,7 +377,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPermanentUrl() {
|
function getPermanentUrl() {
|
||||||
return getUrl('','document_srl',$this->get('document_srl'));
|
$url = getUrl('','document_srl',$this->get('document_srl'));
|
||||||
|
if(substr($url,0,1)=='/') return substr(Context::getRequestUri(),0,-1).$url;
|
||||||
|
return $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTrackbackUrl() {
|
function getTrackbackUrl() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue