[Catalyst] Relocating the configuration file
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst