From 93d3fac26ab6850b1dd262857512a7aa76d75c56 Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Fri, 12 Aug 2011 21:02:13 -0400 Subject: [PATCH] Issue #1248084: Ensure that the proper directory path is shown for the xmlsitemap_path setting in xmlsitemap_settings_form(). --- xmlsitemap.admin.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xmlsitemap.admin.inc b/xmlsitemap.admin.inc index 8454aec7a2ebcb457190b97577a9cd3cc18da3b1..c4c6d314066aea9a8f431b4ccfb395ab62787661 100644 --- a/xmlsitemap.admin.inc +++ b/xmlsitemap.admin.inc @@ -320,7 +320,7 @@ function xmlsitemap_settings_form($form, &$form_state) { '#size' => 30, '#maxlength' => 255, '#description' => t('Subdirectory where the sitemap data will be stored. This folder must not be shared with any other Drupal site or install using XML sitemap.'), - '#field_prefix' => variable_get('file_public_path', conf_path() . '/files') . '/', + '#field_prefix' => drupal_realpath(variable_get('file_default_scheme', 'public') . '://') . '/', '#required' => TRUE, ); $form['advanced']['xmlsitemap_base_url'] = array( -- 1.7.4.1