summaryrefslogtreecommitdiffstats
path: root/apis/init.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-05-26 22:49:54 +0200
committerSimon Rettberg2014-05-26 22:49:54 +0200
commita4f4147b6fe5f2a003a61cf8a8f7508c94130b31 (patch)
treede34472a2b9bd83909469affb884619b4858efc1 /apis/init.inc.php
parentWIP (diff)
downloadslx-admin-a4f4147b6fe5f2a003a61cf8a8f7508c94130b31.tar.gz
slx-admin-a4f4147b6fe5f2a003a61cf8a8f7508c94130b31.tar.xz
slx-admin-a4f4147b6fe5f2a003a61cf8a8f7508c94130b31.zip
WIP
Diffstat (limited to 'apis/init.inc.php')
-rw-r--r--apis/init.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apis/init.inc.php b/apis/init.inc.php
new file mode 100644
index 00000000..cdd6ac05
--- /dev/null
+++ b/apis/init.inc.php
@@ -0,0 +1,7 @@
+<?php
+
+if ($_SERVER['REMOTE_ADDR'] !== '127.0.0.1')
+ exit(0);
+
+Trigger::ldadp();
+Trigger::mount();