Commit 709a4c03 authored by jake%acutex.net's avatar jake%acutex.net

Get the file list of files to scan for templates from Support::Files instead of glob('*')

parent 8ea8a884
...@@ -22,12 +22,14 @@ ...@@ -22,12 +22,14 @@
package Support::Templates; package Support::Templates;
use Support::Files;
$include_path = "template/default"; $include_path = "template/default";
# Scan Bugzilla's code looking for templates used and put them # Scan Bugzilla's code looking for templates used and put them
# in the @testitems array to be used by the template.t test. # in the @testitems array to be used by the template.t test.
my @files = glob('*'); my @files = @Support::Files::testitems;
my %t; my %t;
foreach my $file (@files) { foreach my $file (@files) {
......
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