mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
auth_key, member_srl등의 값이 제대로 들어가지 않아서 인증이 제대로 되지 않던 문제 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6723 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
78524bb4aa
commit
0968703934
5 changed files with 42 additions and 12 deletions
|
|
@ -219,6 +219,21 @@
|
|||
return Context::getUrl($num_args, $args_list);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief getUrl()의 값에 request uri를 추가하여 reutrn
|
||||
* full url을 얻기 위함
|
||||
**/
|
||||
function getFullUrl() {
|
||||
$num_args = func_num_args();
|
||||
$args_list = func_get_args();
|
||||
|
||||
if(!$num_args) return Context::getRequestUri();
|
||||
|
||||
$url = Context::getUrl($num_args, $args_list);
|
||||
if(!preg_match('/^http/i',$url)) return substr(Context::getRequestUri(),0,-1).$url;
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Context::getUrl()를 쓰기 쉽게 함수로 선언
|
||||
* @return string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue