ProductDir — specify directory containing database files
Specify the directory containing database files.
The directory cannot be absolute, unless NoAbsolute
is disabled.
The specified location is, unless absolute, treated relative to CATROOT.
This directive is also available through an alias
DataDir
.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3975 (context shows lines 3975-3989)
sub parse_relative_dir { my($var, $value) = @_; if (absolute_or_relative($value)) { config_error('Path %s not allowed in %s directive', $value, $var); } $C->{Source}{$var} = $value; $value = "$C->{VendRoot}/$value" unless file_name_is_absolute($value); $value =~ s./+$..; $value; }