projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CLEANUP: make index.php very short and move everything in separate files
[e-DoKo.git]
/
include
/
output.php
diff --git
a/output.php
b/include/output.php
similarity index 98%
rename from
output.php
rename to
include/output.php
index 2540492939d0d1c113ca6f910b35d73d624bf6ec..16376031c8d94a6f61f1e6de92ab405d97a9138e 100644
(file)
--- a/
output.php
+++ b/
include/output.php
@@
-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 */