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 // Modified version for custom wordpress database error page - php from digwp.com | |
header('HTTP/1.1 503 Service Temporarily Unavailable'); | |
header('Status: 503 Service Temporarily Unavailable'); | |
header('Retry-After: 3600'); // 1 hour = 3600 seconds | |
/* Delete this comment if you want to be warned by email - This uses PHP's mail(); function so make sure to have it configured on php's config file. | |
mail("spamless@domain.tld", "subject", "msg", "From: self explanatory"); | |
*/ | |
// Upload this whole file (including html) to /wp-content/ and do not change its name! This file includes the very small change to the fork I made. | |
?> |