Lines 27-32
use Koha::Cache::Memory::Lite;
Link Here
|
27 |
sub startup { |
27 |
sub startup { |
28 |
my ($self) = @_; |
28 |
my ($self) = @_; |
29 |
|
29 |
|
|
|
30 |
# Setting a default config to avoid errors if the config file is missing |
31 |
# Set MOJO_CONFIG environment variable to define the config file path |
32 |
$self->plugin('Config', { default => {} }); |
33 |
|
30 |
push @{$self->plugins->namespaces}, 'Koha::App::Plugin'; |
34 |
push @{$self->plugins->namespaces}, 'Koha::App::Plugin'; |
31 |
push @{$self->static->paths}, $self->home->rel_file('koha-tmpl'); |
35 |
push @{$self->static->paths}, $self->home->rel_file('koha-tmpl'); |
32 |
|
36 |
|