CLEANUP: make index.php very short and move everything in separate files
[e-DoKo.git] / include / functions.php
similarity index 99%
rename from functions.php
rename to include/functions.php
index 2f2e07d6ee9713893b1dce079101682ed63cd4b1..991d53d1889abc50bc06a1022fa3564a8cbed38c 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/* make sure that we are not called from outside the scripts, 
+ * use a variable defined in config.php to check this
+ */
+if(!isset($HOST))
+  exit;
 
 function config_check()
 {