From 8de6e2af0a1458feef4cc343fd3b9af8d762df9b Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 18 Sep 2019 18:31:40 +0200 Subject: [PATCH] [9.2.06] autres petites corrections --- core/core.php | 8 ++------ core/layout/main.php | 7 +++++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/core/core.php b/core/core.php index 0d12a533..46cfa7a6 100644 --- a/core/core.php +++ b/core/core.php @@ -618,11 +618,7 @@ 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: /site/' .PHP_EOL . 'Allow: /site/file/' .PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml' . PHP_EOL . 'Sitemap: ' . helper::baseUrl(false) . 'sitemap.xml.gz' . PHP_EOL . @@ -904,7 +900,7 @@ class common { // Version 9.0.09 if($this->getData(['core', 'dataVersion']) < 9009) { $this->setData(['core', 'dataVersion', 9009]); - $this->SaveData(); + $this->saveData(); } // Version 9.0.10 if($this->getData(['core', 'dataVersion']) < 9010) { diff --git a/core/layout/main.php b/core/layout/main.php index 9c7f1380..fc269725 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -190,7 +190,7 @@ ) ) { $position = 'site'; } else { $position = 'body'; - //echo ''; + echo ''; } ?> @@ -245,7 +245,10 @@ - + getData(['theme', 'footer', 'position']) === 'site') { + echo ''; + } ?>
showScript();?>