diff options
-rw-r--r-- | .DS_Store | bin | 6148 -> 0 bytes | |||
-rw-r--r-- | assets/.DS_Store | bin | 6148 -> 0 bytes | |||
-rw-r--r-- | assets/img/.DS_Store | bin | 6148 -> 0 bytes | |||
-rw-r--r-- | includes/gui/header.php | 9 |
4 files changed, 9 insertions, 0 deletions
diff --git a/.DS_Store b/.DS_Store Binary files differdeleted file mode 100644 index 4d7adee..0000000 --- a/.DS_Store +++ /dev/null diff --git a/assets/.DS_Store b/assets/.DS_Store Binary files differdeleted file mode 100644 index 9270bb7..0000000 --- a/assets/.DS_Store +++ /dev/null diff --git a/assets/img/.DS_Store b/assets/img/.DS_Store Binary files differdeleted file mode 100644 index b0b9e27..0000000 --- a/assets/img/.DS_Store +++ /dev/null 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> |