From 397dd8505dfb03850001f02c2eb454becde0db85 Mon Sep 17 00:00:00 2001 From: Paul Maillardet Date: Wed, 5 Jan 2022 19:03:44 +0100 Subject: [PATCH] =?UTF-8?q?Corrige=20l'erreur=20de=20l'=C3=A9tape=205=20du?= =?UTF-8?q?=20wizard=20d'install=20(double=20boot=20du=20kernel)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ VERSION | 2 +- server/src/App/Kernel.php | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8a2aaaa3..82136397d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Tous les changements notables sur le projet sont documentés dans ce fichier. Ce projet adhère au principe du [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.17.1 (2022-01-06) + +- Corrige l'erreur de l'étape 5 du wizard d'installation (double boot du kernel). + ## 0.17.0 (2022-01-05) - Enlève la limite de caractères du champ "lieu" des événements (#300). diff --git a/VERSION b/VERSION index c5523bd09..7cca7711a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.17.0 +0.17.1 diff --git a/server/src/App/Kernel.php b/server/src/App/Kernel.php index 9b79246bf..9019985b0 100644 --- a/server/src/App/Kernel.php +++ b/server/src/App/Kernel.php @@ -21,8 +21,8 @@ final class Kernel public static function boot() { - if (!is_null(static::$instance) && Config::getEnv() !== 'test') { - throw new \LogicException("Le kernel a déjà été booté."); + if (!is_null(static::$instance)) { + return static::$instance; } return static::$instance = new static; }