From 87c5ba20249552925da4965fcccf5891353a2fd9 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 27 Aug 2023 17:46:20 +0200 Subject: [PATCH] Bug affectation checkwrite --- core/module/install/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/module/install/install.php b/core/module/install/install.php index d9bbf28c..84d2b585 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -401,7 +401,7 @@ class install extends common */ // Recopie htaccess if ( - $this->getData(['config', 'autoUpdateHtaccess']) + $this->getData(['config', 'autoUpdateHtaccess']) === true ) { // L'écraser avec le backup $success = copy('.htaccess.bak', '.htaccess'); @@ -436,7 +436,7 @@ class install extends common // La réécriture n'est pas installée, il faut la désactiver helper::$rewriteStatus = false; } else { - $success === true; // file_put_content retourne un int si non false + $success = true; // file_put_content retourne un int si non false } } }