summaryrefslogtreecommitdiff
path: root/api/booru.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/booru.php')
-rw-r--r--api/booru.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/api/booru.php b/api/booru.php
deleted file mode 100644
index 3c3c1d0..0000000
--- a/api/booru.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc";
-global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /-/login") and die();
-
-header("Location: http://localhost:8083/auth/?key=" . sha1($_COOKIE['PEH2_SESSION_TOKEN']) . md5($_COOKIE['PEH2_SESSION_TOKEN']));
-die(); \ No newline at end of file