View | Details | Raw Unified | Return to bug 26625
Collapse All | Expand All

(-)a/Koha/App/Intranet.pm (+4 lines)
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
(-)a/Koha/App/Opac.pm (+4 lines)
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
(-)a/etc/koha-mojolicious.conf (-1 / +9 lines)
Line 0 Link Here
0
- 
1
# Example of config file for mojolicious applications
2
# https://docs.mojolicious.org/Mojolicious/Plugin/Config
3
{
4
    # Hypnotoad settings
5
    # https://metacpan.org/pod/Mojo::Server::Hypnotoad#SETTINGS
6
    hypnotoad => {
7
        listen => ['http://*:8000'],
8
    },
9
}

Return to bug 26625