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