conf_get_attr — get the specified attribute from the config file values
use Wacs;
scalar conf_get_attr( | configuration_section, | |
configuration_attribute); |
scalar | configuration_section; |
scalar | configuration_attribute; |
conf_get_attr returns the specified attribute from
the config file or it's default value if not specified there. The WACS
configuration files are divided into a number of logical sections; the
first parameter specifies which of these is required: amongst those
defined are database, tables, fsloc, server, security, download,
colours, layout, precedence and debug. Please
see the WACS configuration guide and sample wacs.cfg files for more
information on what information is available.