Commit f5725271 authored by Dave Reid's avatar Dave Reid

by Dave Reid: Updated for file_directory_path() was removed.

parent b19d9e07
......@@ -319,7 +319,7 @@ function xmlsitemap_settings_form($form, &$form_state) {
'#size' => 30,
'#maxlength' => 255,
'#description' => t('Subdirectory where the sitemap data will be stored. This folder <strong>must not be shared</strong> with any other Drupal site or install using XML sitemap.'),
'#field_prefix' => file_directory_path() . '/',
'#field_prefix' => variable_get('file_public_path', conf_path() . '/files') . '/',
'#required' => TRUE,
);
$form['advanced']['xmlsitemap_base_url'] = array(
......
......@@ -868,7 +868,7 @@ function xmlsitemap_directory_move($old_dir, $new_dir, $replace = FILE_EXISTS_RE
* Note that this only deletes visible files with write permission.
*
* @param $path
* A filepath relative to file_directory_path.
* A filepath relative to the Drupal root directory.
* @param $delete_root
* A boolean if TRUE will delete the $path directory afterwards.
*/
......
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