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 196713c1172d6b090cc9d8d74168036f9f1cdb7d..31fa9cd5e24259401c9ff0332eae1639f95c8648 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"