Created
January 21, 2017 16:44
-
-
Save rizz0/9018e6a21b48f13496940eaacd1d9dcb to your computer and use it in GitHub Desktop.
The early days...
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 | |
error_reporting(0); | |
//$serverStatus = 'fucked'; | |
if($serverStatus == 'fucked' && $_SERVER['REMOTE_ADDR'] != getAdminIP()){ | |
header('HTTP/1.1 503 Service Unavailable'); | |
@header("Status: 503 Service Temporarily Unavailable"); | |
echo 'We are temporarily down for maintenance. Sorry!'; | |
echo '<br><br><iframe scrolling="no" height="600" width="800" src="http://games.gamepilot.com/f5.swf" frameborder="0" id="gameIFrame"></iframe>'; | |
exit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment