From: ivan Date: Thu, 22 Sep 2005 22:25:23 +0000 (+0000) Subject: should fix problem with empty (dir-less) Conf showing up X-Git-Tag: BEFORE_FINAL_MASONIZE~388 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2ffb2484b5ccc1400dfd5676d99d19f447c9130a should fix problem with empty (dir-less) Conf showing up --- diff --git a/rt/lib/RT/URI/freeside/Internal.pm b/rt/lib/RT/URI/freeside/Internal.pm index 4f5a73ee7..9ca06306d 100644 --- a/rt/lib/RT/URI/freeside/Internal.pm +++ b/rt/lib/RT/URI/freeside/Internal.pm @@ -28,7 +28,7 @@ use strict; no warnings qw(redefine); -use vars qw($conf); +#use vars qw($conf); use FS; use FS::UID qw(dbh); @@ -94,7 +94,8 @@ sub FreesideVersion { sub FreesideGetConfig { - $conf = new FS::Conf unless ref($conf); + #$conf = new FS::Conf unless ref($conf); + my $conf = new FS::Conf; return scalar($conf->config(@_));