Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.561 kB
package Koha::RoseDB;
use Rose::DB;
use Koha;
use C4::Context;
our @ISA = qw(Rose::DB);
# Use a private registry for this class
__PACKAGE__->use_private_registry;
__PACKAGE__->register_db(
domain => __PACKAGE__->default_domain,
type => __PACKAGE__->default_type,
driver => 'mysql',
database => C4::Context->config('database'),
host => C4::Context->config('hostname'),
port => C4::Context->config('port'),
username => C4::Context->config('user'),
password => C4::Context->config('pass'),
);
1;
Jump to Line
Something went wrong with that request. Please try again.