From: mkanat%bugzilla.org <> Date: Tue, 11 Aug 2009 04:41:10 +0000 (+0000) Subject: Bug 430011: Disabled extensions are still included in template include path X-Git-Tag: bugzilla-3.4.2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede20a87b593a3626d29930eb7441b5d09b06fc3;p=thirdparty%2Fbugzilla.git Bug 430011: Disabled extensions are still included in template include path Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm index 250ab9157d..35a855e8d7 100644 --- a/Bugzilla/Install/Util.pm +++ b/Bugzilla/Install/Util.pm @@ -187,6 +187,7 @@ sub template_include_path { my @include_path; my @extensions = glob(bz_locations()->{'extensionsdir'} . "/*"); foreach my $extension (@extensions) { + next if -e "$extension/disabled"; foreach my $lang (@usedlanguages) { _add_language_set(\@include_path, $lang, "$extension/template"); }