home · contact · privacy
Move captchas into captchas/public/ dir linkable by lacking default.do.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 25 Jan 2017 23:37:00 +0000 (00:37 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 25 Jan 2017 23:37:00 +0000 (00:37 +0100)
processor/default.html.do

index 196713c..31fa9cd 100644 (file)
@@ -10,7 +10,8 @@ prep_url() {
 # Pull in global dependencies.
 . ./helpers.sh
 metadata_dir=metadata
-captchas_dir=captchas
+captchas_dir=captchas/public
+mkdir -p "$captchas_dir"
 meta_file="${metadata_dir}/${1%.html}.automatic_metadata"
 redo-ifchange "$meta_file"
 intermediate_file="${metadata_dir}/${1%.html}.intermediate"