test stickler
This commit is contained in:
parent
c81d5ff4d0
commit
5d78c3530b
@ -2211,8 +2211,7 @@ if ($action == 'generatesitemaps') {
|
|||||||
$robotcontent .= $robotsitemap."\n";
|
$robotcontent .= $robotsitemap."\n";
|
||||||
}
|
}
|
||||||
$result = dolSaveRobotFile($filerobot, $robotcontent);
|
$result = dolSaveRobotFile($filerobot, $robotcontent);
|
||||||
if (!$result)
|
if (!$result) {
|
||||||
{
|
|
||||||
$error++;
|
$error++;
|
||||||
setEventMessages('Failed to write file '.$filerobot, null, 'errors');
|
setEventMessages('Failed to write file '.$filerobot, null, 'errors');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user