X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FConf.txt;h=01b7cf5e6f244d33d06f6952c3f9c8d78ec005de;hb=b58d8054d384ac50989bda5851c9c3a80d5d05b3;hp=5e7be7f2d3ddedd3766e9cfe4f4be7ff2b3bba25;hpb=ecff5bc54b3e6be7a963af807ff39786bd3103f6;p=freeside.git diff --git a/htdocs/docs/man/Conf.txt b/htdocs/docs/man/Conf.txt index 5e7be7f2d..01b7cf5e6 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,12 @@ HISTORY sub exists forgot to fetch $dir ivan@sisd.com 98-sep-27 + $Log: Conf.txt,v $ + Revision 1.5 1999-04-08 13:39:31 ivan + convert from pod for 1.2.0 release + Revision 1.3 1999/03/29 01:29:33 ivan die + unless the configuration directory exists + + Revision 1.2 1998/11/13 04:08:44 ivan no default default_dir + (ironic) +