1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-04-15 15:21:29 -03:00
parent e12811b0c9
commit 2d7bd7406b

View file

@ -4471,6 +4471,7 @@ function gotToLoginAndComeBackHere($msg = '')
setAlertMessage($msg, $type = "msg");
$url = "{$global['webSiteRootURL']}user?redirectUri=" . urlencode(getSelfURI());
$url = addQueryStringParameter($url, 'comebackhere', 1);
_error_log("gotToLoginAndComeBackHere($msg) ".getRealIpAddr().' '.json_encode(debug_backtrace()));
header("Location: {$url}");
exit;
}