From: pbowen Date: Mon, 21 Mar 2005 21:55:34 +0000 (+0000) Subject: Forgot to load up the conf. X-Git-Tag: BEFORE_FINAL_MASONIZE~634 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=30189fa2e5987bafeb4714a83b7f130c568b221c;p=freeside.git Forgot to load up the conf. --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 634d5bd7c..3e7da0dd6 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -33,6 +33,7 @@ my $rsa_decrypt; #ask FS::UID to run this stuff for us later $FS::UID::callback{'FS::Record'} = sub { + $conf = new FS::Conf; $File::CounterFile::DEFAULT_DIR = "/usr/local/etc/freeside/counters.". datasrc; $dbdef_file = "/usr/local/etc/freeside/dbdef.". datasrc; &reload_dbdef unless $setup_hack; #$setup_hack needed now?