Last active
August 29, 2015 14:05
-
-
Save epson121/42e6206707a45d924a5b to your computer and use it in GitHub Desktop.
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 | |
if(!in_array($_SERVER['REMOTE_ADDR'], array('212.92.214.170','74.97.45.98', '213.147.103.86'))){ | |
echo "Maintenance mode."; | |
exit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment