mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
스프링노트 모듈에서 도메인 지정시 검색이 안되던 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3316 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
517ba83625
commit
e5d6f9e77b
1 changed files with 6 additions and 2 deletions
|
|
@ -113,8 +113,12 @@
|
|||
**/
|
||||
function getPages($query = null, $fulltext = true) {
|
||||
|
||||
if($query) $url = sprintf('%s?q=%s&fulltext=%d', $this->getUrl(), urlencode($query), $fulltext?1:0);
|
||||
else $url = $this->getUrl();
|
||||
if($query) {
|
||||
if($this->domain) $url = sprintf('%s&q=%s&fulltext=%d', $this->getUrl(), urlencode($query), $fulltext?1:0);
|
||||
else $url = sprintf('%s?q=%s&fulltext=%d', $this->getUrl(), urlencode($query), $fulltext?1:0);
|
||||
} else {
|
||||
$url = $this->getUrl();
|
||||
}
|
||||
|
||||
$oReqeust = $this->getRequest($url);
|
||||
$oResponse = $oReqeust->sendRequest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue