Commit d8d9e5cd authored by Dave Reid's avatar Dave Reid

#483888 by Dave Reid: Changed the cache directory option to a disabled field.

parent c04bc250
......@@ -42,10 +42,10 @@ function xmlsitemap_settings() {
$form['general']['xmlsitemap_cache_directory'] = array(
'#type' => 'textfield',
'#title' => t('Cache directory'),
'#default_value' => variable_get('xmlsitemap_cache_directory', file_directory_path() .'/xmlsitemap'),
'#value' => variable_get('xmlsitemap_cache_directory', file_directory_path() .'/xmlsitemap'),
'#size' => 60,
'#maxlength' => 150,
'#description' => t('The directory where the cache files are created; change it only if you are having problems with the default setting.'),
'#disabled' => TRUE,
);
$form['general']['xmlsitemap_use_stylesheet'] = array(
'#type' => 'checkbox',
......@@ -150,4 +150,3 @@ function xmlsitemap_tools_submit($form, &$form_state) {
/**
* @} End of "addtogroup xmlsitemap".
*/
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