From c368746eae73086a018bca6d7a3ca4e3eeaad4d0 Mon Sep 17 00:00:00 2001 From: ZwiiCMS-team <74316185+ZwiiCMS-team@users.noreply.github.com> Date: Wed, 18 Nov 2020 19:27:12 +0100 Subject: [PATCH] Update install.php --- core/module/install/install.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/module/install/install.php b/core/module/install/install.php index 7dfdf89f..05013d9b 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -94,9 +94,9 @@ class install extends common { if ($this->getInput('installDefaultData',helper::FILTER_BOOLEAN) === FALSE) { $this->initData('page','fr',true); $this->initData('module','fr',true); - $this->setData(['module', 'blog', 'mon-premier-article', 'userId', $userId]); - $this->setData(['module', 'blog', 'mon-deuxieme-article', 'userId', $userId]); - $this->setData(['module', 'blog', 'mon-troisieme-article', 'userId', $userId]); + $this->setData(['module', 'blog', 'posts', 'mon-premier-article', 'userId', $userId]); + $this->setData(['module', 'blog', 'posts', 'mon-deuxieme-article', 'userId', $userId]); + $this->setData(['module', 'blog', 'posts', 'mon-troisieme-article', 'userId', $userId]); } // Stocker le dossier d'installation $this->setData(['core', 'baseUrl', helper::baseUrl(false,false) ]); @@ -253,4 +253,4 @@ class install extends common { } -} \ No newline at end of file +}