ad_parameter_from_file (public)
ad_parameter_from_file name [ package_key ]
Defined in packages/acs-tcl/tcl/defs-procs.tcl
This proc returns the value of a parameter that has been set in the parameters/ad.ini file. Note: The use of the parameters/ad.ini file is discouraged. Some sites need it to provide instance-specific parameter values that are independent of the contents of the apm_parameter tables.
- Parameters:
- name - The name of the parameter.
package_key (optional)
- Returns:
- The parameter of the object or if it doesn't exist, the default.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- ad_parameter_from_file
Source code: # The below is really a hack because none of the calls to ad_parameter in the system # actually call 'ad_parameter param_name acs-kernel'. if { $package_key eq "" || $package_key eq "acs-kernel"} { return [ns_config "ns/server/[ns_info server]/acs" $name] } return [ns_config "ns/server/[ns_info server]/acs/$package_key" $name]XQL Not present: Generic, PostgreSQL, Oracle