diff options
author | ivan <ivan> | 1998-11-13 09:56:57 +0000 |
---|---|---|
committer | ivan <ivan> | 1998-11-13 09:56:57 +0000 |
commit | 0bf5ad9ff0a65195db88ed0bac3aa11c33ec1ad3 (patch) | |
tree | e1f4e0dd775f4b4c82f23140f27609d26216f9fe /htdocs/docs/man/Conf.txt | |
parent | f6ef3dec7840be2e7ac7c39bed32a7ea68425b2d (diff) |
change configuration file layout to support multiple distinct databases (with
own set of config files, export, etc.)
Diffstat (limited to 'htdocs/docs/man/Conf.txt')
-rw-r--r-- | htdocs/docs/man/Conf.txt | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/htdocs/docs/man/Conf.txt b/htdocs/docs/man/Conf.txt index 5e7be7f2d..816df7995 100644 --- a/htdocs/docs/man/Conf.txt +++ b/htdocs/docs/man/Conf.txt @@ -4,8 +4,10 @@ NAME SYNOPSIS use FS::Conf; + $conf = new FS::Conf "/config/directory"; + + $FS::Conf::default_dir = "/config/directory"; $conf = new FS::Conf; - $conf = new FS::Conf "/non/standard/config/directory"; $dir = $conf->dir; @@ -19,8 +21,8 @@ DESCRIPTION METHODS new [ DIRECTORY ] - Create a new configuration object. Optionally, a non-default - directory may be specified. + Create a new configuration object. A directory arguement is + required if $FS::Conf::default_dir has not been set. dir Returns the directory. @@ -33,9 +35,6 @@ METHODS corresponding value is undefined. BUGS - The option to specify a non-default directory should probably be - removed. - Write access (with locking) should be implemented. SEE ALSO @@ -47,3 +46,9 @@ HISTORY sub exists forgot to fetch $dir ivan@sisd.com 98-sep-27 + $Log: Conf.txt,v $ + Revision 1.4 1999-02-09 09:37:48 ivan + regenerated perl api docs from embedded pod + Revision 1.2 1998/11/13 04:08:44 ivan no + default default_dir (ironic) + |