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

(-)a/Koha/Plugins/Base.pm (-1 / +16 lines)
Lines 69-74 sub new { Link Here
69
        $self->store_data({ '__INSTALLED_VERSION__' => $plugin_version });
69
        $self->store_data({ '__INSTALLED_VERSION__' => $plugin_version });
70
    }
70
    }
71
71
72
    $self->{_bundle_path} = abs_path($self->mbf_dir);
73
72
    return $self;
74
    return $self;
73
}
75
}
74
76
Lines 210-215 sub output_html { Link Here
210
    output_with_http_headers( $self->{cgi}, undef, $data, 'html', $status, $extra_options );
212
    output_with_http_headers( $self->{cgi}, undef, $data, 'html', $status, $extra_options );
211
}
213
}
212
214
215
=head2 bundle_path
216
217
    my $bundle_path = $self->bundle_path
218
219
Returns the directory in which bundled files are.
220
221
=cut
222
223
sub bundle_path {
224
    my ($self) = @_;
225
226
    return $self->{_bundle_path};
227
}
228
213
=head2 output
229
=head2 output
214
230
215
   $self->output( $data, $content_type[, $status[, $extra_options]]);
231
   $self->output( $data, $content_type[, $status[, $extra_options]]);
216
- 

Return to bug 22834