aboutsummaryrefslogtreecommitdiff
path: root/callback/index.php
blob: 533a2ac0dd4bf1f0ea96761a614783bf264c50b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

if (!isset($_GET['u'])) {
    die();
}

$exp = (new DateTime('tomorrow'))->format("U");
setcookie("FL_SESSION_TOKEN", $_GET['u'], $exp, "/", ".familine.minteck.org", true, true);

header("Location: https://share.familine.minteck.org");
die();