diff options
author | Minteck <contact@minteck.org> | 2022-04-12 10:22:32 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-04-12 10:22:32 +0200 |
commit | 521a0434bf5ca5dc8c816df13382d2bc0dd8d58d (patch) | |
tree | 79ce8624cc4f21526e20d0aff1d937c1c8722aaa /includes/gui | |
parent | 5301e9789a87e8e4863c94114ba0f00fb52cab7b (diff) | |
download | cloudsdale-521a0434bf5ca5dc8c816df13382d2bc0dd8d58d.tar.gz cloudsdale-521a0434bf5ca5dc8c816df13382d2bc0dd8d58d.tar.bz2 cloudsdale-521a0434bf5ca5dc8c816df13382d2bc0dd8d58d.zip |
Fix issues with my web server
Diffstat (limited to 'includes/gui')
-rw-r--r-- | includes/gui/header.php | 9 |
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> |