Merge branch 'bug_9883' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-03-22 09:52:37 -04:00
commit 313c993663
2 changed files with 3 additions and 5 deletions

View File

@ -24,11 +24,6 @@ use Module::Pluggable require => 1;
use base qw{Module::Bundled::Files};
use C4::Context;
use C4::Auth;
BEGIN {
push @INC, C4::Context->config("pluginsdir");
}
=head1 NAME
@ -108,6 +103,8 @@ C4:Template, but at the moment, it does not.
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'},

View File

@ -277,6 +277,7 @@ __PAZPAR2_TOGGLE_XML_POST__
<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>