summaryrefslogtreecommitdiffstats
path: root/doeditparams.cgi
diff options
context:
space:
mode:
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;