[Webapps-common-packages] Bug#405643: patch doesn't work

Vineet Kumar vineet at doorstop.net
Tue Mar 27 04:53:56 UTC 2007


Just setting graph_dir to "$datadir/graphs" makes the page construct
URLs like http://mybughost/var/lib/bugzilla/data/graphs/graphname.png,
which is no good.

The hack I put in place on my system is to set graph_dir to
"$datadir/graphs" and then also change the url_image to:

    my $url_image = "/bugzilla_graphs/" . url_quote($image_file);

And sudo ln -s /var/lib/bugzilla/data/graphs /var/www/bugzilla_graphs.

Like I said, though, this is a hack, and I don't recommend this go into
the debian package like this; I just wanted to point out that editing
graph_dir isn't enough on its own.

-- 
http://www.doorstop.net/




More information about the Webapps-common-packages mailing list