mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
#18634871 comment getPermanentUrl() 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7230 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ba1a67f452
commit
cfc530276b
1 changed files with 1 additions and 3 deletions
|
|
@ -282,9 +282,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPermanentUrl() {
|
function getPermanentUrl() {
|
||||||
$url = getUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl');
|
return getFullUrl('','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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue