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
/
functions.php
diff --git
a/functions.php
b/include/functions.php
similarity index 99%
rename from
functions.php
rename to
include/functions.php
index 2f2e07d6ee9713893b1dce079101682ed63cd4b1..991d53d1889abc50bc06a1022fa3564a8cbed38c 100644
(file)
--- a/
functions.php
+++ b/
include/functions.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;
function config_check()
{