When visiting the xmlsitemap settings page, the directory prefix shown for the xmlsitemap_path setting is incorrect when the default file scheme is set to private rather than public.
When visiting the xmlsitemap settings page, the directory prefix shown for the xmlsitemap_path setting is incorrect when the default file scheme is set to private rather than public.
Comments
Comment #1
pillarsdotnet commentedThe attached patch ensures that the proper directory prefix is shown, regardless of the default file scheme.
Comment #2
pillarsdotnet commentedReally, this time.
Comment #3
pillarsdotnet commentedShould have used
file_default_scheme().Comment #4
dave reidComment #5
dave reidI actually decided to base this off using file_build_uri() without realpath involved as that's kind of what core does already.
http://drupalcode.org/project/xmlsitemap.git/commit/6f4b6f0