Commit d4325485 authored by Karl Heyes's avatar Karl Heyes

allow mount param for webroot xsl pages, closes #990

svn path=/icecast/trunk/icecast/; revision=13754
parent 2c67cfff
...@@ -931,8 +931,9 @@ void stats_transform_xslt(client_t *client, const char *uri) ...@@ -931,8 +931,9 @@ void stats_transform_xslt(client_t *client, const char *uri)
{ {
xmlDocPtr doc; xmlDocPtr doc;
char *xslpath = util_get_path_from_normalised_uri (uri); char *xslpath = util_get_path_from_normalised_uri (uri);
const char *mount = httpp_get_query_param (client->parser, "mount");
stats_get_xml(&doc, 0, NULL); stats_get_xml(&doc, 0, mount);
xslt_transform(doc, xslpath, client); xslt_transform(doc, xslpath, client);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment