[rt-users] Re: RT database repointing

Anya Figlin afiglin at pictage.com
Thu May 19 12:13:27 EDT 2005


You should set:
Set($DatabaseHost , 'your_db_host');
in RT_SiteConfig.pm rather than in RT_Config.pm.
In fact, all of your site-specific configs should go in
RT_SiteConfig.pm.
During startup, RT loads settings from RT_Config.pm and then loads those
from RT_SiteConfig.pm.  So if you have a variable, say, $DatabaseHost
set to 'A' in RT_Config.pm and also set in RT_SiteConfig.pm to 'B', the
resulting $DatabaseHost variable will be set to 'B'. 
Hope this helps,

-anya




More information about the rt-users mailing list