Description: Allows mailgrap to show graph is the script is renamed Author: Julien Valroff 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;