summaryrefslogtreecommitdiffstats
path: root/doeditparams.cgi
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-11-22 12:50:36 +0100
committerbbaetz%acm.org <>2003-11-22 12:50:36 +0100
commitda857afa089e79ad16fb833dd1ffe397055fd892 (patch)
tree4582f630aa59c35fdb25aa30fd71c617977e0a86 /doeditparams.cgi
parent63790559f094b702688365ed12242526ce3ff969 (diff)
downloadbugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.gz
bugzilla-da857afa089e79ad16fb833dd1ffe397055fd892.tar.xz
Bug 208604 - Make data/template dir locations configurable
Diffstat (limited to 'doeditparams.cgi')
-rwxr-xr-xdoeditparams.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doeditparams.cgi b/doeditparams.cgi
index 04d0ac98b..3a89a0fd0 100755
--- a/doeditparams.cgi
+++ b/doeditparams.cgi
@@ -26,7 +26,7 @@ use strict;
use lib qw(.);
use Bugzilla;
-use Bugzilla::Config qw(:DEFAULT :admin);
+use Bugzilla::Config qw(:DEFAULT :admin $datadir);
require "CGI.pl";
@@ -111,7 +111,7 @@ foreach my $i (GetParamList()) {
WriteParams();
-unlink "data/versioncache";
+unlink "$datadir/versioncache";
print "<p>OK, done.</p>\n";
print $howto;