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

(-)a/Koha/Plugins.pm (+2 lines)
Lines 26-31 use C4::Context; Link Here
26
use C4::Output;
26
use C4::Output;
27
27
28
BEGIN {
28
BEGIN {
29
    die('Plugins not enabled in config') unless ( C4::Context->config("enable_plugins") );
30
29
    push @INC, C4::Context->config("pluginsdir");
31
    push @INC, C4::Context->config("pluginsdir");
30
}
32
}
31
33
(-)a/Koha/Plugins/Base.pm (+2 lines)
Lines 28-33 use Template; Link Here
28
use C4::Context;
28
use C4::Context;
29
29
30
BEGIN {
30
BEGIN {
31
    die('Plugins not enabled in config') unless ( C4::Context->config("enable_plugins") );
32
31
    push @INC, C4::Context->config("pluginsdir");
33
    push @INC, C4::Context->config("pluginsdir");
32
}
34
}
33
35
(-)a/Koha/Plugins/Handler.pm (+2 lines)
Lines 26-31 use Module::Load::Conditional qw(can_load); Link Here
26
use C4::Context;
26
use C4::Context;
27
27
28
BEGIN {
28
BEGIN {
29
    die('Plugins not enabled in config') unless ( C4::Context->config("enable_plugins") );
30
29
    push @INC, C4::Context->config("pluginsdir");
31
    push @INC, C4::Context->config("pluginsdir");
30
}
32
}
31
33
(-)a/debian/templates/koha-conf-site.xml.in (+1 lines)
Lines 258-263 Link Here
258
 <authorityserver>authorities</authorityserver>
258
 <authorityserver>authorities</authorityserver>
259
 <authorityservershadow>1</authorityservershadow>
259
 <authorityservershadow>1</authorityservershadow>
260
 <pluginsdir>__PLUGINS_DIR__</pluginsdir>
260
 <pluginsdir>__PLUGINS_DIR__</pluginsdir>
261
 <enable_plugins>0</enable_plugins>
261
 <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
262
 <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
262
 <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
263
 <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
263
 <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
264
 <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref (-2 / +1 lines)
Lines 306-309 Enhanced Content: Link Here
306
              choices:
306
              choices:
307
                  yes: Enable
307
                  yes: Enable
308
                  no: "Don't enable"
308
                  no: "Don't enable"
309
            - the ability to use Koha Plugins.
309
            - the ability to use Koha Plugins. Note, the plugin system must also be enabled in the Koha configuration file to be fully enabled.
310
- 

Return to bug 7804