mv_parameter name { default " " }What it does:
The correct way to get a parameter for the member value module. We want to make sure that we are abstracting away whether this is stored in the database or in the /parameters/ad.ini file.Defined in: /web/philip/tcl/ad-member-value.tcl
Source code:
set server_name [ns_info server]
append config_path "ns/server/" $server_name "/acs/member-value"
set config_value [ns_config $config_path $name]
if ![empty_string_p $config_value] {
return $config_value
} else {
return $default
}