summaryrefslogtreecommitdiffstats
path: root/t/Support
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-01-12 02:12:13 +0100
committermyk%mozilla.org <>2004-01-12 02:12:13 +0100
commit637b35d05add84f71adcf7d0d3cb060b1c3e7349 (patch)
tree68ac02c31b34b0883a71c20a473a88946302be09 /t/Support
parente4bdfbbf265b93bbb9efa5d987ddb1d9167df28d (diff)
downloadbugzilla-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar.gz
bugzilla-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar.xz
Fix for bug 229658: Implements a mechanism for extensions to hook into standard Bugzilla templates so they can extend the Bugzilla UI without having to modify the standard templates themselves, making it easier to develop and use Bugzilla extensions.
r=bbaetz, gerv a=myk
Diffstat (limited to 't/Support')
-rw-r--r--t/Support/Templates.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm
index e90565392..440358015 100644
--- a/t/Support/Templates.pm
+++ b/t/Support/Templates.pm
@@ -69,6 +69,8 @@ $num_actual_files = 0;
my $path = File::Spec->catdir('template', $langdir, 'custom');
my @dirs = ();
push(@dirs, $path) if(-d $path);
+ $path = File::Spec->catdir('template', $langdir, 'extension');
+ push(@dirs, $path) if(-d $path);
$path = File::Spec->catdir('template', $langdir, 'default');
push(@dirs, $path) if(-d $path);