summaryrefslogtreecommitdiff
path: root/account/login/twitch.php
diff options
context:
space:
mode:
Diffstat (limited to 'account/login/twitch.php')
-rw-r--r--account/login/twitch.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/account/login/twitch.php b/account/login/twitch.php
index 38fd6cc..23f4ea5 100644
--- a/account/login/twitch.php
+++ b/account/login/twitch.php
@@ -1,7 +1,7 @@
<?php
-include_once "../../../src/config.php";
-include_once "../../../src/utils.php";
-include_once "../../../src/alert.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/config.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/alert.php";
if (!TWITCH_REGISTRATION_ENABLE) {
generate_alert("/404.php", "Registration via Twitch is disabled", 405);