diff options
Diffstat (limited to 'includes/gui/header.php')
-rwxr-xr-x | includes/gui/header.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/gui/header.php b/includes/gui/header.php index 7a85a55..e207c83 100755 --- a/includes/gui/header.php +++ b/includes/gui/header.php @@ -11,11 +11,6 @@ if (!file_exists($_SERVER["DOCUMENT_ROOT"] . "/data/files.json")) { file_put_contents($_SERVER["DOCUMENT_ROOT"] . "/data/files.json", json_encode([])); } -if ($_SERVER['HTTP_HOST'] !== "conep.one" && $_SERVER['HTTP_HOST'] !== "www.conep.one" && $_SERVER['HTTP_HOST'] !== "localhost" && $_SERVER['HTTP_HOST'] !== "0.0.0.0") { - header("Location: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); - die(); -} - global $general; $general = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/general.json"), true); @@ -45,4 +40,4 @@ $general = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/gene <meta name="theme-color" content="#6010a7"> </head> <body class="bg-dark"> - <?php require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/gui/navigation.php"; ?>
\ No newline at end of file + <?php require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/gui/navigation.php"; ?> |