[rt-devel] rt-2-1-78: mess with the site config

Jesse Vincent jesse at bestpractical.com
Mon Mar 3 22:21:08 EST 2003



On Tue, Mar 04, 2003 at 11:13:58AM +0800, Autrijus Tang wrote:
> On Tue, Mar 04, 2003 at 12:24:49PM +1000, Phil Homewood wrote:
> > Stanislav Sinyagin wrote:
> > > What is the reason that in rt-2-1-78 the site config is 
> > > loaded BEFORE the core config and gets overwritten?
> > > Now all my site settings are lost...
> > 
> > So that values in RT_Config.pm can inherit values defined in
> > RT_SiteConfig.pm.
> 
> But RT_Config.pm test for truth not definedness -- I just found
> out about it the hard way yesterday.  That is, when I set some
> value to '' explicitly, _Config.pm comes in and overrides it.

Point. Pity we don't have an //= operator in perl5.

> 
> Thanks,
> /Autrijus/



-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rt-devel mailing list