Good evening,

On 28/7/08 at 12:41 PM +0100, Dermot <[EMAIL PROTECTED]> wrote:

>I can't seem to find to a way to configure my connect_info or use the
>values from my Cataylst conf file which reads
>
><connect_info>
>      driver dbi:SQLite
>      file __HOME__/motion.db
></connect_info>
>
>Is there way to use the values from my conf file or a variable that
>will refer to the Cataylst root dir that DBIC::Schema will be aware
>of?

I think you're looking for:

<Model::DBIC>
    connect_info   dbi:SQLite:__HOME__/motion.db
</Model::DBIC>

Change Model::DBIC to match the name of your model.


Charlie

-- 
   Charlie Garrison  <[EMAIL PROTECTED]>
   PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to