CAPTCHA_IMAGE_SUBDIR — specify subdirectory containing "captcha" images
The variable specifies just a subdirectory name where the generated captcha image are to be saved, and from where they can be requested by clients.
Interchange 5.9.0:
Source: code/SystemTag/captcha.coretag
Line 44 (context shows lines 34-48)
$func =~ s/[^a-z]+//g;
my $result = '';
if($func eq 'code') {
$result = $Vend::Session->{captcha};
}
$opt->{length} ||= 4;
my $en = $opt->{error_name} || 'captcha';
my $subdir = $opt->{image_subdir}
|| $::Variable->{CAPTCHA_IMAGE_SUBDIR}
|| 'captcha';
my $tmpdir = "$Vend::Cfg->{ScratchDir}/$subdir";
mkdir($tmpdir) unless -d $tmpdir;