1.12.03 bouton de génération du sitemap

This commit is contained in:
Fred Tempez 2024-09-07 14:25:47 +02:00
parent bab06033ed
commit 1fd0c5492f

View File

@ -22,7 +22,7 @@ class config extends common
'copyBackups' => self::GROUP_ADMIN,
'delBackups' => self::GROUP_ADMIN,
'configMetaImage' => self::GROUP_ADMIN,
'siteMap' => self::GROUP_ADMIN,
'sitemap' => self::GROUP_ADMIN,
'index' => self::GROUP_ADMIN,
'restore' => self::GROUP_ADMIN,
'updateBaseUrl' => self::GROUP_ADMIN,
@ -213,7 +213,7 @@ class config extends common
* Sitemap compressé et non compressé
* Robots.txt
*/
public function siteMap()
public function sitemap()
{
// La page n'existe pas
if (
@ -592,7 +592,7 @@ class config extends common
}
}
// Générer robots.txt et sitemap
$this->siteMap();
$this->sitemap();
// Valeurs en sortie
$this->addOutput([
'title' => helper::translate('Configuration'),