Update index.php

This commit is contained in:
H4xl0r
2019-04-08 23:57:43 +02:00
committed by GitHub
parent 980dead10c
commit 875aaf1729

View File

@@ -1,5 +1,5 @@
<?php
$destination = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['HTTP_URI'] . "";
$destination = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
require_once('helper.php');
?>