use base qw{Module::Bundled::Files};
use C4::Context;
-use C4::Auth;
-
-BEGIN {
- push @INC, C4::Context->config("pluginsdir");
-}
=head1 NAME
sub get_template {
my ( $self, $args ) = @_;
+ require C4::Auth;
+
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{ template_name => $self->mbf_path( $args->{'file'} ),
query => $self->{'cgi'},
<authorityserver>authorities</authorityserver>
<authorityservershadow>1</authorityservershadow>
<pluginsdir>__PLUGINS_DIR__</pluginsdir>
+ <enable_plugins>0</enable_plugins>
<intranetdir>__INTRANET_CGI_DIR__</intranetdir>
<opacdir>__OPAC_CGI_DIR__/opac</opacdir>
<opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>