summaryrefslogtreecommitdiff
path: root/templates/upload.tmpl
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-07-29 17:09:03 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-07-29 17:09:03 +0200
commit0e936a1e55d0168b8d4af5e396bc8a22c7d260e2 (patch)
tree1215aa6e389fbcaac2320b29fd53d2db23c28a30 /templates/upload.tmpl
parent5aa1666cbe5482af7b79d0ee635423500b2fdc88 (diff)
Added support for configurable virtual root.
Diffstat (limited to 'templates/upload.tmpl')
-rw-r--r--templates/upload.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/upload.tmpl b/templates/upload.tmpl
index 49b0212..ab0bddb 100644
--- a/templates/upload.tmpl
+++ b/templates/upload.tmpl
@@ -15,7 +15,7 @@
</script>
#end def
#def content
- <form method="post" action="/u" enctype="multipart/form-data">
+ <form method="post" action="${root}u" enctype="multipart/form-data">
<input type="hidden" id="filename" name="filename" />
<p><input type="file" id="file" name="file" onchange="file_changed()" /></p>
<p><input type="submit" value="Upload" /></p>