From 7fd21cf6cbed39386df1f76fc74973f8c5db97e3 Mon Sep 17 00:00:00 2001 From: Natalie Rose Date: Wed, 13 Aug 2025 10:27:21 +1000 Subject: [PATCH] Fix captcha generation path --- .gitignore | 1 + app | 2 +- lib/Lacuna/CaptchaFactory.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8c6f24da..6c2b78a6 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ data/ etc-docker/logs/ tmp/ log/ +captcha/ diff --git a/app b/app index b64620c7..fc139fc7 160000 --- a/app +++ b/app @@ -1 +1 @@ -Subproject commit b64620c7f03f990a50c889b3ff8625ee6e55c91d +Subproject commit fc139fc723b5e7ff3f8af3b245b80b7fd17a98cc diff --git a/lib/Lacuna/CaptchaFactory.pm b/lib/Lacuna/CaptchaFactory.pm index 8e1a0360..cf01641d 100644 --- a/lib/Lacuna/CaptchaFactory.pm +++ b/lib/Lacuna/CaptchaFactory.pm @@ -256,7 +256,7 @@ sub construct { ); my $prefix = substr($self->guid, 0,2); - my $dir = '/data/Lacuna-Captcha/public/'.$prefix; + my $dir = '/home/lacuna/server/captcha/'.$prefix; unless (-d $dir) { mkdir $dir; } -- 2.51.2