Lines 56-61
my %errors;
Link Here
|
56 |
if ($plugins_enabled) { |
56 |
if ($plugins_enabled) { |
57 |
if ( ( $op eq 'Upload' ) && $uploadfile ) { |
57 |
if ( ( $op eq 'Upload' ) && $uploadfile ) { |
58 |
my $plugins_dir = C4::Context->config("pluginsdir"); |
58 |
my $plugins_dir = C4::Context->config("pluginsdir"); |
|
|
59 |
$plugins_dir = ref($plugins_dir) eq 'ARRAY' ? $plugins_dir->[0] : $plugins_dir; |
59 |
|
60 |
|
60 |
my $dirname = File::Temp::tempdir( CLEANUP => 1 ); |
61 |
my $dirname = File::Temp::tempdir( CLEANUP => 1 ); |
61 |
$debug and warn "dirname = $dirname"; |
62 |
$debug and warn "dirname = $dirname"; |
62 |
- |
|
|