#18205582, #18150330, 메일 인증/ 비밀번호 찾기등의 메일 발송시 경로가 제대로 전달되도록 수정.

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:
zero 2009-08-05 07:11:28 +00:00
parent 78524bb4aa
commit 0968703934
5 changed files with 42 additions and 12 deletions

View file

@ -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