Commit ffe35e13 authored by RenatoG's avatar RenatoG Committed by RenatoG

Issue #2910247 by RenatoG, sjerdo, darrell_ulm: Message out of date: The...

Issue #2910247 by RenatoG, sjerdo, darrell_ulm: Message out of date: The directory public://xmlsitemap was not found or is not writable by the server
parent 9d8f968f
...@@ -50,7 +50,7 @@ function xmlsitemap_requirements($phase) { ...@@ -50,7 +50,7 @@ function xmlsitemap_requirements($phase) {
if (!xmlsitemap_check_directory()) { if (!xmlsitemap_check_directory()) {
$requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable'); $requirements['xmlsitemap_directory']['value'] = $t('Not found or not writable');
$requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR; $requirements['xmlsitemap_directory']['severity'] = REQUIREMENT_ERROR;
$requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', array('%directory' => xmlsitemap_get_directory(), '@docpage' => 'http://drupal.org/node/34025')); $requirements['xmlsitemap_directory']['description'] = $t('The directory %directory was not found or is not writable by the server. See <a href="@docpage">@docpage</a> for more information.', array('%directory' => xmlsitemap_get_directory(), '@docpage' => 'http://drupal.org/node/244924'));
} }
else { else {
$directories = xmlsitemap_check_all_directories(); $directories = xmlsitemap_check_all_directories();
...@@ -65,7 +65,7 @@ function xmlsitemap_requirements($phase) { ...@@ -65,7 +65,7 @@ function xmlsitemap_requirements($phase) {
$requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. !directories', array( $requirements['xmlsitemap_directory']['description'] = $t('The following directories were not found or are not writable by the server. See <a href="@docpage">@docpage</a> for more information. !directories', array(
'!directories' => theme('item_list', array( '!directories' => theme('item_list', array(
'items' => array_keys($directories), 'items' => array_keys($directories),
)), '@docpage' => 'http://drupal.org/node/34025', )), '@docpage' => 'http://drupal.org/node/244924',
)); ));
} }
} }
......
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