Configuration of domains
freeside at petra.osprey.net
Fri Apr 7 08:24:49 PDT 2000
I ran into another snag...
I get errors with this bit of code in svc_domain.pm line 37...
or die "Illegal line in $internic/nameservers";
or die "Illegal line in $internic/nameservers!";
well, duh, because I haven't defined that configuration yet. :)
Why/when is this callback called? Can its call depend on whether or not
a configuration exists? :)
I thought I had a new format for configuration files all figured out,
until I discovered what this callback was doing, with subdirectories in
I think I can hack around it, but it looks ugly.
where before you had a filename as such:
$tech_contact = $conf->config("$internic/tech_contact");
I put it into a section in my ini file:
tech_contact=joedokes at osprey.net
I think what I'd like to do is add a third parameter to FS::Conf->config
to support the "section" of configuration. So then the call above would
$tech_contact = $conf->config("tech_contact", $internic)
More information about the freeside-devel