Re: [Catalyst] Working with project configurationfileoutsideofCatalyst directory

2010-09-05 Thread Octavian Rasnita
Hi Leandro, Have you tried to use in your main configuration file something like: MyDB include db.conf /MyDB and in your Catalyst configuration file something like: Model::DB include db.conf /Model::DB and in the db.conf: schema_class ... connect_info dsn ... username ...

Re: [Catalyst] Deleting the expired session files?

2010-09-05 Thread Bernhard Graf
Octavian Rasnita wrote: I am trying to create a script that will be executed by a cron job which will delete all the expired session files, but without success. I use the Session::Store::File plugin. http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg08921.html HTH Bernhard

Re: [Catalyst] Deleting the expired session files?

2010-09-05 Thread Octavian Rasnita
From: Peter Karman pe...@peknet.com Octavian Rasnita wrote on 9/4/10 8:39 AM: Hello, I am trying to create a script that will be executed by a cron job which will delete all the expired session files, but without success. I use the Session::Store::File plugin. can't you just use the

Re: [Catalyst] Working with project configurationfileoutsideofCatalyst directory

2010-09-05 Thread Leandro Hermida
Hi Octavian, That makes a lot of sense thank you, I had mistakenly thought that you had to include an entire Config::General block if you wanted to include it in something else. Will try that best, Leandro On Sun, Sep 5, 2010 at 8:58 AM, Octavian Rasnita orasn...@gmail.com wrote: Hi Leandro,

Re: [Catalyst] Working with project configurationfileoutsideofCatalystdirectory

2010-09-05 Thread Octavian Rasnita
Please tell us if it works, because I haven't tried it. Octavian - Original Message - From: Leandro Hermida soft...@leandrohermida.com To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Sunday, September 05, 2010 7:53 PM Subject: Re: [Catalyst] Working with project

[Catalyst] FormFu, reCaptcha and config files

2010-09-05 Thread Pavel A. Karoukin
Hello, I am using reCaptcha form element in FormFu form. Right now I am hardcode reCaptcha's public and private keys into form config. I'd like to move these settings somehow into myapp.conf. What is the best way to do it? as I can see that I can't access $c from form.yml, so the only way assign