CLEANUP: make index.php very short and move everything in separate files
[e-DoKo.git] / include / output.php
similarity index 98%
rename from output.php
rename to include/output.php
index 2540492939d0d1c113ca6f910b35d73d624bf6ec..16376031c8d94a6f61f1e6de92ab405d97a9138e 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;
 
 /* functions which only ouput html  */