diff options
Diffstat (limited to '_url.php')
-rw-r--r-- | _url.php | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); |