Änderungen https Andy Müller rückgängig gemacht
This commit is contained in:
@ -18,7 +18,7 @@ if ($generate) {
|
||||
ob_start();
|
||||
} else {
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/../htdocs4/loose.dtd">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/../htdocs4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="te../htdocs; charset=UTF-8" >
|
||||
@ -29,8 +29,8 @@ if ($generate) {
|
||||
}
|
||||
|
||||
$url = dirname($_SERVER['REQUEST_URI']).'/res/exemple09.png.php?px=5&py=20';
|
||||
if (substr($url, 0, 7)!=='https://') {
|
||||
$url = 'https://'.$_SERVER['HTTP_HOST'].$url;
|
||||
if (substr($url, 0, 7)!=='http://') {
|
||||
$url = 'http://'.$_SERVER['HTTP_HOST'].$url;
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
|
Reference in New Issue
Block a user