summaryrefslogtreecommitdiff
path: root/_url.php
diff options
context:
space:
mode:
Diffstat (limited to '_url.php')
-rw-r--r--_url.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/_url.php b/_url.php
index f953982..6e1e3fc 100644
--- a/_url.php
+++ b/_url.php
@@ -2,12 +2,6 @@
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/functions.php";
-if (str_starts_with($_GET["_"], "ogo") && file_exists($_SERVER['DOCUMENT_ROOT'] . "/l" . str_replace("/", "-", $_GET["_"]))) {
- header("Content-Type: " . mime_content_type($_SERVER['DOCUMENT_ROOT'] . "/l" . str_replace("/", "-", $_GET["_"])));
- header("Content-Length: " . filesize($_SERVER['DOCUMENT_ROOT'] . "/l" . str_replace("/", "-", $_GET["_"])));
- die(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/l" . str_replace("/", "-", $_GET["_"])));
-}
-
$id = $_GET["_"];
$data = parseId($id);