aboutsummaryrefslogtreecommitdiff
path: root/includes/gui
diff options
context:
space:
mode:
Diffstat (limited to 'includes/gui')
-rw-r--r--includes/gui/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/gui/header.php b/includes/gui/header.php
index dff6b67..5f5bc25 100644
--- a/includes/gui/header.php
+++ b/includes/gui/header.php
@@ -1,6 +1,6 @@
<?php
-if ($_SERVER['HTTP_HOST'] !== "conep.one" && $_SERVER['HTTP_HOST'] !== "www.conep.one") {
+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();
}