aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/gui/header.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/gui/header.php b/includes/gui/header.php
index 82f2ebb..dff6b67 100644
--- a/includes/gui/header.php
+++ b/includes/gui/header.php
@@ -1,3 +1,12 @@
+<?php
+
+if ($_SERVER['HTTP_HOST'] !== "conep.one" && $_SERVER['HTTP_HOST'] !== "www.conep.one") {
+ header("Location: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
+ die();
+}
+
+?>
+
<!DOCTYPE html>
<html lang="en">
<head>