Last active
December 31, 2018 13:51
-
-
Save radarin/d699716526f5f92b5b44c476e89933a4 to your computer and use it in GitHub Desktop.
Individuel gestalteter Wartungsmodus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$protocol = $_SERVER['SERVER_PROTOCOL']; | |
if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) { | |
$protocol = 'HTTP/1.0'; | |
} | |
header( "$protocol 503 Service Unavailable", true, 503 ); | |
header( 'Content-Type: text/html; charset=utf-8' ); | |
header( 'Retry-After: 600' ); | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | |
<title>Wordpress Wartungsmodus</title> | |
<style> | |
body { background-color: #000000; color: #ffffff; font-family: Avenir, sans-serif; font-size: 20px; } | |
h1 { color: #ffffff; font-family: Avenir, sans-serif; font-size: 40px; } | |
</style> | |
<meta http-equiv="refresh" content="5; URL=https://darin.ch/"> | |
</head> | |
<body> | |
<div align="center"> | |
<p><img src="https://www.darin.ch/static-img/wp/wartung/logo-wartung.png" alt="Wordpress Logo weiss"></p> | |
<h1>Wordpress Wartungsmodus</h1> | |
<p>Wordpress aktualisiert gerade seine Software.<br />Das dauert in der Regel nur wenige Sekunden.<br /> | |
Die Webseite wird automatisch wieder angezeigt, sobald das Update abgeschlossen ist. | |
</p> | |
<p><img src="https://www.darin.ch/static-img/wp/wartung/ani.gif" alt="Warten Animation" width="50" height="50"> | |
<br /><img src="https://www.darin.ch/static-img/wp/wartung/line.jpg" alt="Linie" width="900" height="1"></p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment