Commit 414d5554 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 430011: Disabled extensions are still included in template include path

Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent 2c7e92ec
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment