로그인후 이동할 url 변경

This commit is contained in:
gnuboard
2013-05-13 13:40:09 +09:00
parent 1da2113f93
commit c51c205324

View File

@ -1987,8 +1987,12 @@ function hyphen_hp_number($hp)
function login_url($url='')
{
if (!$url) $url = G4_URL;
/*
$p = parse_url($url);
echo urlencode($_SERVER['REQUEST_URI']);
return $url.urldecode(preg_replace("/^".urlencode($p['path'])."/", "", urlencode($_SERVER['REQUEST_URI'])));
*/
return $url;
}