summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-07-02 16:07:38 +0200
committerRaindropsSys <contact@minteck.org>2023-07-02 16:07:38 +0200
commit7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e (patch)
tree6335bbefe009497aa83ee4fab2687f1194ab2f53
parentfb217a26158ac61adaff27528d41cdd48b53ae19 (diff)
downloadpluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.tar.gz
pluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.tar.bz2
pluralconnect-7ceb1d721e1e084be80d3ce7342bc05e2ebcbd1e.zip
Updated 3 files (automated)
-rw-r--r--auth/callback/index.php2
-rw-r--r--auth/init/index.php2
-rw-r--r--includes/components/footer.inc2
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>