[Handel] mp1 database connectivity

Todd W trwww at sbcglobal.net
Wed May 3 21:51:42 CEST 2006


From: "Christopher H. Laco" <claco at chrislaco.com>

> Just for giggles, what happens if you leave th offending line in
> Handel::DBI, and put this in your FundRaiser.pm:
>
>
> Handel::DBI->connection(
>  'dbi:mysql:dbname=handel',
>  'handeluser',
>  'handelpass'
> );

Then it works great. In fact, I dont even need to do the second part, as 
there are already calls to ->connection in the Handel::Cart and 
Handel::Order subclasses.

The problem with that is I'm now modifying the Handel distro and not my 
subclasses.

Todd W.




More information about the Handel mailing list