[Catalyst] Relocating the configuration file

Dwalu Khasu dwaluk at gmail.com
Sat Jan 21 17:13:18 GMT 2012


On Sat, Jan 21, 2012 at 8:47 AM, Robert Rothenberg <robrwo at gmail.com> wrote:

> Another question: I would like the configuration file to be in
> /opt/myapp/etc instead of /opt/myapp/lib/MyApp.
>
> How do I configure Catalyst to look for configuration files in an
> alternative location?  I haven't found very clear documentation on this.
>
>
Hello Robert,

Do you mean relocating myapp.conf or the inclusion of other config files?
 You can either pass args to Catalyst::Plugin::ConfigLoader for the former,
or use <<include etc/amazon_fps.conf>> for the latter using Config::General.

Best,
Dwalu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20120121/fc2b1=
15d/attachment.htm


More information about the Catalyst mailing list