master
Manager Bot 3 years ago
parent 58755cc84c
commit 49757f734e
  1. 2
      Web/lib/MJB/Web.pm

@ -23,7 +23,7 @@ sub startup ($self) {
push @{$self->plugins->namespaces}, 'MJB::Web::Plugin'; push @{$self->plugins->namespaces}, 'MJB::Web::Plugin';
# Load the MJB::Web::Plugin::Nginx plugin. # Load the MJB::Web::Plugin::Nginx plugin.
$self->plugins->load_plugin('Nginx'); $self->plugin('Nginx');
$self->helper( db => sub { $self->helper( db => sub {
return state $db = MJB::DB->connect($config->{database}->{mjb}); return state $db = MJB::DB->connect($config->{database}->{mjb});

Loading…
Cancel
Save