diff options
author | bbaetz%acm.org <> | 2003-11-22 12:50:36 +0100 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-11-22 12:50:36 +0100 |
commit | da857afa089e79ad16fb833dd1ffe397055fd892 (patch) | |
tree | 4582f630aa59c35fdb25aa30fd71c617977e0a86 /reports.cgi | |
parent | 63790559f094b702688365ed12242526ce3ff969 (diff) | |
download | bugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.gz bugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.xz |
Bug 208604 - Make data/template dir locations configurable
Diffstat (limited to 'reports.cgi')
-rwxr-xr-x | reports.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi index 71ecf6c31..67274a6d5 100755 --- a/reports.cgi +++ b/reports.cgi @@ -37,6 +37,8 @@ use strict; use lib qw(.); +use Bugzilla::Config qw(:DEFAULT $datadir); + require "CGI.pl"; use vars qw(%FORM); # globals from CGI.pl @@ -48,7 +50,7 @@ $@ && ThrowCodeError("gd_not_installed"); eval "use Chart::Lines"; $@ && ThrowCodeError("chart_lines_not_installed"); -my $dir = "data/mining"; +my $dir = "$datadir/mining"; my $graph_dir = "graphs"; use Bugzilla; |