From 0afefae7d9125b08d0b5f9c8c7ed826fda593a4f Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Wed, 5 Oct 2022 14:10:05 +0200 Subject: [PATCH] version 11.5.09 --- CHANGES.md | 5 +++++ README.md | 2 +- core/core.php | 2 +- core/module/install/view/index/index.php | 2 +- module/blog/blog.php | 4 ++-- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 4826d8db..5402bcce 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ # Changelog +## Version 11.5.09 +### Corrections : +- Problème de génération de l'exemple du site. +- Dépréciations de fonctions PHP 8.1 + ## Version 11.5.08 ### Corrections : - Bugs divers et dépréciations PHP 8.1 diff --git a/README.md b/README.md index c3d51e4e..4025993c 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 11.5.08 +# ZwiiCMS 11.5.09 Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. diff --git a/core/core.php b/core/core.php index d1cc9d65..beaa6221 100644 --- a/core/core.php +++ b/core/core.php @@ -46,7 +46,7 @@ class common // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.5.08'; + const ZWII_VERSION = '11.5.09'; const ZWII_UPDATE_CHANNEL = "v11"; public static $actions = []; diff --git a/core/module/install/view/index/index.php b/core/module/install/view/index/index.php index 2fc17213..d1d9dfe8 100644 --- a/core/module/install/view/index/index.php +++ b/core/module/install/view/index/index.php @@ -45,7 +45,7 @@
- false ]); ?> diff --git a/module/blog/blog.php b/module/blog/blog.php index 155053d1..8e7a4ebb 100644 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -461,8 +461,8 @@ class blog extends common { ? PHP81_BC\strftime('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn'])) : utf8_encode(PHP81_BC\strftime('%d %B %Y', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']))); $heure = mb_detect_encoding(PHP81_BC\strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn'])), 'UTF-8', true) - ? PHP81_BC\strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn'])) - : utf8_encode(PHP81_BC\strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']))); + ? PHP81_BC\strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn'])) + : utf8_encode(PHP81_BC\strftime('%H:%M', $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'publishedOn']))); self::$articles[] = [ '' . $this->getData(['module', $this->getUrl(0), 'posts', $articleIds[$i], 'title']) .