added force https file

This commit is contained in:
overflowerror 2014-02-26 19:09:25 +01:00
parent 29af93f8b1
commit 82250ae038

View file

@ -0,0 +1,6 @@
<?php
if(!isset($_SERVER['HTTPS']) || ($_SERVER['HTTPS'] != "on")) {
header("LOCATION: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
die();
}
?>