[rt-users] Config of own plugin

Thomas Sibley trs at bestpractical.com
Wed May 23 10:08:45 EDT 2012


On 05/23/2012 03:16 AM, Alexander Reintzsch wrote:
> I am using RT 4.0.6.
> I wrote a plug-in which needs some variables to be set in the config file.
> So I created a file
> /opt/rt4/local/RTx-MYPLUGIN/etc/RT_SiteConfig.pm

As Christian Loos pointed out, RT_SiteConfig.pm and RT_Config.pm are
treated as special names.  If you want to do this, you should put your
plugin's default config vars into etc/MyPlugin_Config.pm.  This leaves
etc/MyPlugin_SiteConfig.pm for anyone who wants to use it over the main
RT_SiteConfig.pm.

Thomas



More information about the rt-users mailing list