summaryrefslogtreecommitdiff
path: root/account/index.php
blob: 35e0f145e54c9edabe20d73b4673a2b8ee15333c (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php";

if (!isLoggedIn()) {
    header("Location: /");
    die();
}

header("Location: https://account.equestria.dev/hub/users/" . getUserID());
die();