diff options
Diffstat (limited to 'login/index.php')
-rw-r--r-- | login/index.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/login/index.php b/login/index.php new file mode 100644 index 0000000..cc2a306 --- /dev/null +++ b/login/index.php @@ -0,0 +1,9 @@ +<?php + +//var_dump($_SERVER);die(); + +if (isset($_SERVER["HTTP_REFERER"]) && strpos($_SERVER["HTTP_REFERER"], "fl4-network-proxy.alwaysdata.net") !== false) { + header("Location: https://familine.jetbrains.space/oauth/auth?response_type=token&client_id=b73d6873-fb22-4794-ad79-585a7280a066&redirect_uri=https://fl4-network-proxy.alwaysdata.net/oauth&scope=Profile:ViewProfile"); +} else { + header("Location: https://familine.jetbrains.space/oauth/auth?response_type=token&client_id=b73d6873-fb22-4794-ad79-585a7280a066&redirect_uri=https://famishare.ddns.net/oauth&scope=Profile:ViewProfile"); +} |