[Rt-devel] RT.pm LoadConfig sub ... is this a logic error?
lidio at ic-unix.ic.utoronto.ca
Thu Apr 21 16:21:44 EDT 2005
you are quite right, that is the correct way to achive what I wanted!
[It was my silly "gotcha" Perl coding :-( ]
On Thu, 21 Apr 2005, Stephen Turner wrote:
> At Thursday 4/21/2005 03:33 PM, Lidio Presutti wrote:
> >Hi folks,
> >kind of new with RT. I copied RT_Config.pm to RT_SiteConfig.pm and then I
> >had made a change to my RT_SiteConfig.pm. I changed
> >Set($LogToSyslog , 'debug');
> >Set($LogToFile , undef);
> >Set($LogToSyslog , undef);
> >Set($LogToFile , 'debug');
> You need to explicitly set variables to 0 if you want to override the
> RT_Config value with a "false" or "off" setting. Setting a variable to
> undef in RT_SiteConfig won't do what you want.
More information about the Rt-devel