[rt-users] Add value to array in RT_SiteConfig.pm

Ruslan Zakirov ruz at bestpractical.com
Fri Apr 26 08:18:33 EDT 2013


No, it is not possible. SiteConfig is loaded before core config.

On Fri, Apr 26, 2013 at 1:12 PM, Pavel Gulchouck <gul at gul.kiev.ua> wrote:

> Hi.
> Is it possible to add a value to array in config?
> I want to add one custom script to @JSFiles, but cannot find
> anything like Push() or Add() in config parser, only Set().
> Is the only way copy all predefined array from RT_Config.pm to
> RT_SiteConfig.pm?
> The same question for add (or modify) some key/value of %Lifecycles hash
> without copying it all to RT_SiteConfig.pm.
> Thanks.
> --
> Pavel

Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130426/c0e9cc59/attachment.htm>

More information about the rt-users mailing list