diff options
-rw-r--r-- | auth/callback/index.php | 2 | ||||
-rw-r--r-- | auth/init/index.php | 2 | ||||
-rw-r--r-- | includes/components/footer.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/auth/callback/index.php b/auth/callback/index.php index 75d73ea..f48912c 100644 --- a/auth/callback/index.php +++ b/auth/callback/index.php @@ -2,7 +2,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/functions.inc"; $app = $GLOBALS["ColdHazeApp"] = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); -$server = "auth.equestria.horse"; +$server = "account.equestria.dev"; header("Content-Type: text/plain"); diff --git a/auth/init/index.php b/auth/init/index.php index 6f1ada7..64535f4 100644 --- a/auth/init/index.php +++ b/auth/init/index.php @@ -1,7 +1,7 @@ <?php $app = $GLOBALS["ColdHazeApp"] = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/app.json"), true); -$server = "auth.equestria.horse"; +$server = "account.equestria.dev"; header("Location: https://$server/hub/api/rest/oauth2/auth?client_id=" . $GLOBALS["ColdHazeApp"]["oauth"]["id"] . "&response_type=code&redirect_uri=https://ponies.equestria.horse/auth/callback&scope=Hub&request_credentials=default&access_type=offline"); die(); diff --git a/includes/components/footer.inc b/includes/components/footer.inc index 20d3ede..5dc05ce 100644 --- a/includes/components/footer.inc +++ b/includes/components/footer.inc @@ -21,7 +21,7 @@ global $pageFile; $time = microtime(true) - $GLOBALS["ColdHazeStart"]; ?> - © <?= date("Y") ?> <a href="https://equestria.horse" target="_blank" class="text-muted"><?= $lang["footer"]["copyright"] ?></a> · build <?= $version["build"] ?>.<?= $version["revision"] ?>, took <?= round($time * 1000, 2) ?> ms + © 2022-<?= date("Y") ?> <a href="https://equestria.dev" target="_blank" class="text-muted"><?= $lang["footer"]["copyright"] ?></a> · build <?= $version["build"] ?>.<?= $version["revision"] ?>, took <?= round($time * 1000, 2) ?> ms <br><br><br><br><br> </div> </div> |