]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 430011: Disabled extensions are still included in template include path
authormkanat%bugzilla.org <>
Tue, 11 Aug 2009 04:41:10 +0000 (04:41 +0000)
committermkanat%bugzilla.org <>
Tue, 11 Aug 2009 04:41:10 +0000 (04:41 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Install/Util.pm

index 250ab9157d008ce03beecd7aea5c51eb008a99a4..35a855e8d7c0161374e13ea311842d7bfc257cb7 100644 (file)
@@ -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");
         }