Commit 366a80ff authored by Antoine Tenart's avatar Antoine Tenart

kwain

parent d714f7b7
......@@ -32,7 +32,8 @@
*/
// Force le passage en HTTPS, pour éviter le risque d'interception des données
if ( $_SERVER["REMOTE_ADDR"] != "127.0.1.1" )
//if ( $_SERVER["REMOTE_ADDR"] != "127.0.1.1" )
if (isset ($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != "on")
{
header("Location: https://ae.utbm.fr".$_SERVER["REQUEST_URI"]);
exit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment