package ForcEst;

use base 'Apache::MVC';
use Class::DBI::Loader::Relationship;

ForcEst->setup("dbi:mysql:forecast_estimate_test", "xyz", "zyx");
ForcEst->config->{uri_base} = 'http://10.191.110.231/forcest';
ForcEst->config->{template_root} = '/var/www/webdata/forcest/';
ForcEst->config->{rows_per_page} = 10;
#ForcEst->Estimate->untaint_columns( printable => [qw/notes/],
#                                   integer => [qw/project task/] );
#ForcEst->Project->untaint_columns( printable => [qw/name/] );
#ForcEst->Task->untaint_columns( printable => [qw/name/] );
ForcEst->config->{loader}->relationship($_) for
        ("a project has estimates", "a task has estimates");

1;