aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command/InstallCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/InstallCommand.php')
-rw-r--r--src/Wallabag/CoreBundle/Command/InstallCommand.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php
index a4301958..c1b72604 100644
--- a/src/Wallabag/CoreBundle/Command/InstallCommand.php
+++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php
@@ -135,11 +135,10 @@ class InstallCommand extends ContainerAwareCommand
135 135
136 $em->persist($user); 136 $em->persist($user);
137 137
138 $config = new Config(); 138 $config = new Config($user);
139 $config->setUser($user); 139 $config->setTheme($this->getContainer()->getParameter('theme'));
140 $config->setTheme('baggy'); 140 $config->setItemsPerPage($this->getContainer()->getParameter('items_on_page'));
141 $config->setItemsPerPage(10); 141 $config->setLanguage($this->getContainer()->getParameter('language'));
142 $config->setLanguage('en_US');
143 142
144 $em->persist($config); 143 $em->persist($config);
145 } 144 }