mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +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() {
|
||||
$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;
|
||||
return getFullUrl('','document_srl',$this->get('document_srl')).'#comment_'.$this->get('comment_srl');
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue