aboutsummaryrefslogtreecommitdiff
path: root/login/embed
diff options
context:
space:
mode:
Diffstat (limited to 'login/embed')
-rw-r--r--login/embed/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/login/embed/index.php b/login/embed/index.php
new file mode 100644
index 0000000..ebe083e
--- /dev/null
+++ b/login/embed/index.php
@@ -0,0 +1,6 @@
+<?php
+
+$_CONFIG = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/private/FamilineConfig.json"), true);
+
+header("Location: https://session." . $_CONFIG["Global"]["domain"] . "/login/embed/?r=" . $_GET['r']);
+die();