1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

allow mount param for webroot xsl pages, closes #990

svn path=/icecast/trunk/icecast/; revision=13754
This commit is contained in:
Karl Heyes 2007-09-05 02:16:45 +00:00
parent 2c67cfffb2
commit d43254853f

View File

@ -931,8 +931,9 @@ void stats_transform_xslt(client_t *client, const char *uri)
{
xmlDocPtr doc;
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);