mirror of
https://github.com/sigmasternchen/PHPTools
synced 2025-03-14 23:38:55 +00:00
6 lines
168 B
PHP
6 lines
168 B
PHP
<?php
|
|
if(!isset($_SERVER['HTTPS']) || ($_SERVER['HTTPS'] != "on")) {
|
|
header("LOCATION: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
|
|
die();
|
|
}
|
|
?>
|