Skip to content

Instantly share code, notes, and snippets.

@sevein
Created January 11, 2012 18:16
Show Gist options
  • Save sevein/1595981 to your computer and use it in GitHub Desktop.
Save sevein/1595981 to your computer and use it in GitHub Desktop.
Add another IP address to local ACL
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