blob: 81e51694561757865e0ee0ed80437982b5a38fd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Description: Allows mailgrap to show graph is the script is renamed
Author: Julien Valroff <julien@debian.org>
Fowrarded: no
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434486
--- a/mailgraph.cgi
+++ b/mailgraph.cgi
@@ -11,7 +11,7 @@
my $VERSION = "1.14";
my $host = (POSIX::uname())[1];
-my $scriptname = 'mailgraph.cgi';
+my $scriptname = $ENV{"SCRIPT_NAME"};
my $xpoints = 540;
my $points_per_sample = 3;
my $ypoints = 160;
|