Created
January 11, 2012 18:16
-
-
Save sevein/1595981 to your computer and use it in GitHub Desktop.
Add another IP address to local ACL
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
| Index: www/qubit-toolkit-svn/qubit_dev.php | |
| =================================================================== | |
| --- www/qubit-toolkit-svn/qubit_dev.php (revision 10638) | |
| +++ www/qubit-toolkit-svn/qubit_dev.php (working copy) | |
| @@ -2,7 +2,7 @@ | |
| // this check prevents access to debug front controllers that are deployed by accident to production servers. | |
| // feel free to remove this, extend it or make something more sophisticated. | |
| -if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1'))) | |
| +if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1', '192.168.1.10'))) | |
| { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment