diff options
author | ivan <ivan> | 2008-06-18 00:42:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-06-18 00:42:31 +0000 |
commit | e2f0cb2fe64f6e18572f42f574ff4aa881d57b20 (patch) | |
tree | dde53aae4222aa49e82d3755e23b8ad1296f5779 | |
parent | b96f6a512042fee7ecbaf54de5d92c0295d65a9d (diff) |
REALLY, don't use FS::Conf from Msgcat until runtime... should hopefully FINALLY eliminate the Record->Msgcat->Conf->Record loop
-rw-r--r-- | FS/FS/Msgcat.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Msgcat.pm b/FS/FS/Msgcat.pm index 771615727..70933b238 100644 --- a/FS/FS/Msgcat.pm +++ b/FS/FS/Msgcat.pm @@ -13,7 +13,7 @@ use FS::msgcat; @EXPORT_OK = qw( gettext geterror ); FS::UID->install_callback( sub { - eval { use FS::Conf; }; + eval "use FS::Conf;"; die $@ if $@; $conf = new FS::Conf; $locale = $conf->config('locale') || 'en_US'; |