[Catalyst] Choose conf file depending on user input?
David K Storrs
dstorrs at dstorrs.com
Thu Feb 9 22:50:03 CET 2006
On Feb 9, 2006, at 1:22 PM, Ryan Detzel wrote:
> I'm trying to re-write an admin panel in Cat. but I'm stumped. On the
> login screen the user enteres user/pass and a code that lets the
> server
> know what company they work for. I want to be able to load in
> different
> conf files depending on this code, so if they login with XXX it uses
> XXX.xml(plugin for xml) and so on but I can't figure out how to do
> this.
> Also, for authentication this has to be done before the $c->login
> since
> the conf file contains what users can login...any thoughts?
I guess my first question would be "What are you trying to achieve?"
Why do you need to have separate config files? What information will
be different between the various config files?
--Dks
More information about the Catalyst
mailing list