Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
aschwarz
2023-04-26 13:57:39 +02:00
parent da1f2a6c82
commit 088389f080
508 changed files with 2763 additions and 2763 deletions

View File

@ -1,7 +1,7 @@
<?php
$url = $_SERVER['REQUEST_URI'];
if (substr($url, 0, 7)!=='https://') {
$url = 'https://'.$_SERVER['HTTP_HOST'];
if (substr($url, 0, 7)!=='http://') {
$url = 'http://'.$_SERVER['HTTP_HOST'];
if (ISSET($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']!=80) $url.= ':'.$_SERVER['SERVER_PORT'];
$url.= $_SERVER['REQUEST_URI'];
}