SafeUntrap
Sets the opcodes that will be untrapped (enabled) in the
Safe
module.
Synopsis
|
SafeUntrap opcode [opcodes...]
|
The default is "ftfile sort".
Scope
This directive is only available for use in the global
(interchange.cfg) configuration file,
and will affect all websites running under the Interchange installation.
It will not work in a website's local (catalog.cfg)
configuration file.
Description
This directive allows you to set opcodes that will be "untrapped" (enabled) in the
Safe
module.
Untrapped Safe opcodes can be used in
embedded Perl,
local UserTags and conditional operations.
The default is "ftfile sort", which untraps the
file existence test operator and the sort operator.
See the
Opcode
Perl module documentation
for a list of valid opcodes.
|
Note
The SafeTrap directive's value is evaluated
before this directive.
If you specify duplicate opcode(s) with the
SafeTrap directive then SafeUntrap will
take priority,
and the duplicate opcode(s) will be not be
trapped (disabled) by the
Safe module.
|
Example
|
SafeUntrap ftfile sort :filesys_read
|