From 7531973551f5e6411a3c317a861825670c00fbf3 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 11 Apr 2023 07:13:33 +0200 Subject: [PATCH] Fix install --- core/module/install/install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/module/install/install.php b/core/module/install/install.php index 62be5f65..536e25bf 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -345,10 +345,10 @@ class install extends common // Configuration case 4: $success = true; - $message = null; + $message = ''; $rewrite = $this->getInput('data'); // Réécriture d'URL - if ($rewrite === "true") { // Ajout des lignes dans le .htaccess + if ($rewrite === 'true') { // Ajout des lignes dans le .htaccess $fileContent = file_get_contents('.htaccess'); $rewriteData = PHP_EOL . '# URL rewriting' . PHP_EOL . @@ -392,7 +392,6 @@ class install extends common foreach ($installedUI as $key => $value) { if ($store[$key]['version'] > $value['version']) { - echo copy('core/module/install/ressource/i18n/' . $key . '.json', self::I18N_DIR . $key . '.json'); $this->setData(['languages', $key, $store[$key]]); } }