Last active
December 30, 2015 23:39
-
-
Save ecoreng/7901911 to your computer and use it in GitHub Desktop.
If visitor is my ip, then enable error reporting, and do other stuff
This file contains hidden or 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 ($_SERVER['REMOTE_ADDR'] == 'My.IP.address.!') { | |
error_reporting(E_ALL); | |
ini_set("display_errors", 1); | |
// do stuff | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment