From 414d555411f5e055ab3a96efa91d43312d897d2a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 11 Aug 2009 04:40:43 +0000 Subject: Bug 430011: Disabled extensions are still included in template include path Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- Bugzilla/Install/Util.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/Install') 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"); } -- cgit v1.2.3-24-g4f1b