[Catalyst] Additional scripts accessing the Model and Config?
luisemunoz at gmail.com
Fri Jun 8 18:05:31 GMT 2012
On Jun 8, 2012, at 1:15 PM, Tomas Doran wrote:
> You don't.
> $c implies a web request context, which you don't have.
That explains a lot :-)
> You can, however, call things as class methods, so:
> should work from inside your script, for example.
But still, I would like to have access to the configuration data (for instance, how to setup the database/ldap/whatever Model, etc). Does that happen as well when using the class method?
More information about the Catalyst