mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#19058734 - blogapi 애드온에서 rewrite 해제시 URL이 잘못 표시되는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7626 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8ff28e1f3f
commit
08db5dc391
1 changed files with 4 additions and 2 deletions
|
|
@ -13,7 +13,8 @@
|
|||
// called_position가 after_module_proc일때 rsd 태그 삽입
|
||||
if($called_position == 'after_module_proc') {
|
||||
// 현재 모듈의 rsd주소를 만듬
|
||||
$rsd_url = sprintf('%s%s/api', Context::getRequestUri(), $this->mid);
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$rsd_url = getFullSiteUrl($site_module_info->domain, '', 'mid',$site_module_info->mid, 'act','api');
|
||||
|
||||
// 헤더에 rsd태그 삽입
|
||||
Context::addHtmlHeader(" ".'<link rel="EditURI" type="application/rsd+xml" title="RSD" href="'.$rsd_url.'" />');
|
||||
|
|
@ -445,7 +446,8 @@
|
|||
default :
|
||||
|
||||
$homepagelink = getUrl('','mid',$this->mid);
|
||||
$api_url = sprintf('%s%s/api', Context::getRequestUri(), $this->mid);
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$api_url = getFullSiteUrl($site_module_info->domain, '', 'mid',$site_module_info->mid, 'act','api');
|
||||
$content = <<<RSDContent
|
||||
<?xml version="1.0" ?>
|
||||
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd" >
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue