Catalyst-Authentication-RedmineCookie

 view release on metacpan or  search on metacpan

etc/mycontainer.pl  view on Meta::CPAN

        # 'Model::DBIC' => {
        #     compose_namespaces => 0,
        #     schema_class => "Catalyst::Authentication::RedmineCookie::Schema",
        #     connect_info => [
        #         "DBI:mysql:database=redmine", 'user', 'pass',
        #         {
        #             RaiseError        => 1,
        #             PrintError        => 0,
        #             AutoCommit        => 1,
        #             pg_enable_utf8    => 1, # for pg
        #             mysql_enable_utf8 => 1, # for mysql
        #             quote_names       => 1,
        #         }
        #     ],
        # },
    },
};

lib/Catalyst/Authentication/RedmineCookie.pm  view on Meta::CPAN

        'Model::DBIC' => {
            schema_class => "Catalyst::Authentication::RedmineCookie::Schema",
            compose_namespaces => 0,
            connect_info => [
                "DBI:mysql:database=redmine", 'user', 'pass',
                {
                    RaiseError        => 1,
                    PrintError        => 0,
                    AutoCommit        => 1,
                    pg_enable_utf8    => 1, # for pg
                    mysql_enable_utf8 => 1, # for mysql
                    quote_names       => 1,
                }
            ],
        },
    );
    __PACKAGE__->setup(
        'Authentication',
    );

    package TestApp::Controller::Root;



( run in 0.287 second using v1.01-cache-2.11-cpan-00829025b61 )