CAPTCHA_IMAGE_LOCATION — specify directory containing generated "captcha" images
The variable specifies a directory where the generated captcha image files should be saved to.
This directory must also be available as a web server location.
Interchange 5.9.0:
Source: code/SystemTag/captcha.coretag
Line 50 (context shows lines 40-54)
$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;
my $imgdir = $opt->{image_location} || $::Variable->{CAPTCHA_IMAGE_LOCATION};
unless ($imgdir ) {
if(! $Global::NoAbsolute and $::Variable->{DOCROOT}) {
$imgdir = "$::Variable->{DOCROOT}$::Variable->{IMAGE_DIR}/$subdir";