aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-11 04:41:10 +0000
committermkanat%bugzilla.org <>2009-08-11 04:41:10 +0000
commitede20a87b593a3626d29930eb7441b5d09b06fc3 (patch)
treec6788683cfaa33cbd0788d7905762a4d04b77bb9
parentBug 503980: show_bug.cgi doesn't properly escape <!-- inside bug summary - Pa... (diff)
downloadbugzilla-ede20a87b593a3626d29930eb7441b5d09b06fc3.tar.gz
bugzilla-ede20a87b593a3626d29930eb7441b5d09b06fc3.tar.bz2
bugzilla-ede20a87b593a3626d29930eb7441b5d09b06fc3.zip
Bug 430011: Disabled extensions are still included in template include path
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
-rw-r--r--Bugzilla/Install/Util.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 250ab9157..35a855e8d 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");
}