diff --git a/CHANGES.md b/CHANGES.md index 0bb45e79..fa52934e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ # Changelog +## Version 9.2.06 +- Correction : + - Validation html + - Syntaxe du fichier robots.txt + ## Version 9.2.05 - Correction : - Suppression totale de Swiper (dossier source et template Tinymce) diff --git a/core/core.php b/core/core.php index 737027d0..0d12a533 100644 --- a/core/core.php +++ b/core/core.php @@ -33,7 +33,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '9.2.05'; + const ZWII_VERSION = '9.2.06'; public static $actions = []; public static $coreModuleIds = [ @@ -618,17 +618,16 @@ class common { PHP_EOL . '# ZWII CONFIG ---------' . PHP_EOL . 'User-agent: *' . PHP_EOL . - 'Disallow: /core/' . PHP_EOL . - 'Disallow: /module/' .PHP_EOL . - 'Disallow: /site/data' .PHP_EOL . - 'Disallow: /site/tmp' .PHP_EOL . - 'Disallow: /site/backup' .PHP_EOL . + // 'Disallow: /core/' . PHP_EOL . + // 'Disallow: /module/' .PHP_EOL . + 'Disallow: /site/data/' .PHP_EOL . + 'Disallow: /site/tmp/' .PHP_EOL . + 'Disallow: /site/backup/' .PHP_EOL . 'Allow: /site/file/' .PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml' . PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml.gz' . PHP_EOL . '# ZWII CONFIG ---------' . PHP_EOL ; - if (file_exists('robots.txt')) { return(file_put_contents( 'robots.txt', diff --git a/core/layout/main.php b/core/layout/main.php index 4bb1c39a..9c7f1380 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -1,270 +1,253 @@ -
- - - showMetaTitle(); ?> - showMetaDescription(); ?> - showMetaType(); ?> - showMetaImage(); ?> - showFavicon(); ?> - showVendor(); ?> - showAnalytics(); ?> - - - - showStyle(); ?> - - - -showBar(); ?> -showNotification(); ?> -getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top' ): ?> - - - -getData(['theme', 'header', 'position']) === 'body'): ?> - -