Diff for web-apps/finance-manager/modules/db.pm between version 1.1 and 1.2
| version 1.1, 2004/02/11 10:52:53 |
version 1.2, 2004/04/04 17:40:47 |
|
|
| # 08/02/2004 - created |
# 08/02/2004 - created |
| # |
# |
| |
|
| # $Platon$ |
# $Platon: scripts/perl/finance-manager/modules/db.pm,v 1.1 2004/02/11 10:52:53 rajo Exp $ |
| |
|
| package db; |
package db; |
| |
|
|
|
| ";host=" . $globals->db_host(), $globals->db_user(), $globals->db_password()) |
";host=" . $globals->db_host(), $globals->db_user(), $globals->db_password()) |
| or die "Can't connect to" . $globals->db_host() . ": $DBI::errstr"; |
or die "Can't connect to" . $globals->db_host() . ": $DBI::errstr"; |
| |
|
| |
|
| return $self; |
return $self; |
| |
|
| } # }}} |
} # }}} |
| |
|
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|