summaryrefslogtreecommitdiff
path: root/utils.php
diff options
context:
space:
mode:
Diffstat (limited to 'utils.php')
-rw-r--r--utils.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.php b/utils.php
index 6baafb8..ec3db07 100644
--- a/utils.php
+++ b/utils.php
@@ -19,6 +19,10 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+if (!defined('LOOKING_GLASS01')) {
+ exit;
+}
+
function match_ipv4($ip) {
return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
}