summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2014-05-31 23:28:29 +0100
committerlsces <lester@lsces.co.uk>2014-05-31 23:28:29 +0100
commit7f5ca0aa69263301601f0f4cf6276d62fca7a37c (patch)
treed71fc1c4e3948544a36c5ffd6ec4e96680cf258d
parentd1f2ebc97f4dcbfbf4e7009671c0f2a214b05f18 (diff)
downloadinstall-7f5ca0aa69263301601f0f4cf6276d62fca7a37c.tar.gz
install-7f5ca0aa69263301601f0f4cf6276d62fca7a37c.tar.bz2
install-7f5ca0aa69263301601f0f4cf6276d62fca7a37c.zip
Extra protection on direct access to folder
-rw-r--r--templates/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.php b/templates/index.php
new file mode 100644
index 0000000..3e305fe
--- /dev/null
+++ b/templates/index.php
@@ -0,0 +1,6 @@
+<?php
+
+ // This is not a package.
+ header ("location: ../index.php");
+
+?> \ No newline at end of file