로그인후 url을 urlencode로 수정
This commit is contained in:
@ -1987,8 +1987,9 @@ function hyphen_hp_number($hp)
|
||||
function login_url($url='')
|
||||
{
|
||||
if (!$url) $url = G4_URL;
|
||||
$p = parse_url($url);
|
||||
return $url.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", urlencode($_SERVER['REQUEST_URI'])));
|
||||
//$p = parse_url($url);
|
||||
//return $url.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", urlencode($_SERVER['REQUEST_URI'])));
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user