aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-06 04:04:12 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-06 04:04:12 -0700
commit32602c5f87a5731a578f99c97adfb27721a13fb1 (patch)
treedd4a89517aa3409acc3f5f00308f3c3ebf57b7a1
parent09606dbac220ec690b6239a697fdac602f8ed914 (diff)
downloadvolse-hubzilla-32602c5f87a5731a578f99c97adfb27721a13fb1.tar.gz
volse-hubzilla-32602c5f87a5731a578f99c97adfb27721a13fb1.tar.bz2
volse-hubzilla-32602c5f87a5731a578f99c97adfb27721a13fb1.zip
disallow viewing raw templates from http
-rw-r--r--view/.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/.htaccess b/view/.htaccess
new file mode 100644
index 000000000..559a5fcc0
--- /dev/null
+++ b/view/.htaccess
@@ -0,0 +1,3 @@
+<FilesMatch "\.tpl">
+Deny from all
+</FilesMatch> \ No newline at end of file