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

(-)a/about.pl (-9 / +10 lines)
Lines 70-75 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
70
    }
70
    }
71
);
71
);
72
72
73
my $docdir;
74
if ( defined C4::Context->config('docdir') ) {
75
    $docdir = C4::Context->config('docdir');
76
} else {
77
78
    # if no <docdir> is defined in koha-conf.xml, use the default location
79
    # this is a work-around to stop breakage on upgraded Kohas, bug 8911
80
    $docdir = C4::Context->config('intranetdir') . '/docs';
81
}
82
73
my $config_timezone = C4::Context->config('timezone') // '';
83
my $config_timezone = C4::Context->config('timezone') // '';
74
my $config_invalid  = !DateTime::TimeZone->is_valid_name( $config_timezone );
84
my $config_invalid  = !DateTime::TimeZone->is_valid_name( $config_timezone );
75
my $env_timezone    = $ENV{TZ} // '';
85
my $env_timezone    = $ENV{TZ} // '';
Lines 737-750 $template->param( table => $table ); Link Here
737
747
738
## ------------------------------------------
748
## ------------------------------------------
739
## Koha contributions
749
## Koha contributions
740
my $docdir;
741
if ( defined C4::Context->config('docdir') ) {
742
    $docdir = C4::Context->config('docdir');
743
} else {
744
    # if no <docdir> is defined in koha-conf.xml, use the default location
745
    # this is a work-around to stop breakage on upgraded Kohas, bug 8911
746
    $docdir = C4::Context->config('intranetdir') . '/docs';
747
}
748
750
749
## Release teams
751
## Release teams
750
my $teams =
752
my $teams =
751
- 

Return to bug 32693