diff --git a/core/class/sitemap/SitemapGenerator.class.php b/core/class/sitemap/SitemapGenerator.class.php index bf9b507..dbaa0cd 100644 --- a/core/class/sitemap/SitemapGenerator.class.php +++ b/core/class/sitemap/SitemapGenerator.class.php @@ -128,7 +128,17 @@ class SitemapGenerator */ private $sampleRobotsLines = [ "User-agent: *", + "Disallow: /", + "User-agent: Googlebot", "Allow: /", + "User-agent: bingbot", + "Allow: /", + "User-agent: Slurp", + "Allow: /", + "User-agent: DuckDuckBot", + "Allow: /", + "User-agent: Baiduspider", + "Allow: /" ]; /** * @var array list of valid changefreq values according to the spec diff --git a/core/core.php b/core/core.php index b41d98c..4de0747 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.12.02'; + const ZWII_VERSION = '1.12.03'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';