2 FS::Conf - Read access to Freeside configuration values
7 $conf = new FS::Conf "/config/directory";
9 $FS::Conf::default_dir = "/config/directory";
14 $value = $conf->config('key');
15 @list = $conf->config('key');
16 $bool = $conf->exists('key');
19 Read access to Freeside configuration values. Keys currently map
20 to filenames, but this may change in the future.
24 Create a new configuration object. A directory arguement is
25 required if $FS::Conf::default_dir has not been set.
27 dir Returns the directory.
30 Returns the configuration value or values (depending on
34 Returns true if the specified key exists, even if the
35 corresponding value is undefined.
38 Write access (with locking) should be implemented.
41 config.html from the base documentation contains a list of
45 Ivan Kohler <ivan@sisd.com> 98-sep-6
47 sub exists forgot to fetch $dir ivan@sisd.com 98-sep-27
50 Revision 1.4 1999-02-09 09:37:48 ivan
51 regenerated perl api docs from embedded pod
52 Revision 1.2 1998/11/13 04:08:44 ivan no
53 default default_dir (ironic)