* @var array
*/
protected $functionExists = [
- 'tidy_parse_string',
'curl_exec',
'curl_multi_init',
- 'gettext',
];
protected function configure()
} else {
$fulfilled = false;
$status = '<error>ERROR!</error>';
- $help = 'You need the '.$requirement.' function activated';
+ $help = 'You need the '.$functionRequired.' function activated';
}
$rows[] = array($label, $status, $help);
$this->defaultOutput->writeln('<info><comment>Step 3 of 4.</comment> Administration setup.</info>');
$questionHelper = $this->getHelperSet()->get('question');
- $question = new ConfirmationQuestion('Would you like to create a new admin user (recommended) ? (y/N)', true);
+ $question = new ConfirmationQuestion('Would you like to create a new admin user (recommended) ? (Y/n)', true);
if (!$questionHelper->ask($this->defaultInput, $this->defaultOutput, $question)) {
return $this;
$config->setTheme($this->getContainer()->getParameter('wallabag_core.theme'));
$config->setItemsPerPage($this->getContainer()->getParameter('wallabag_core.items_on_page'));
$config->setRssLimit($this->getContainer()->getParameter('wallabag_core.rss_limit'));
+ $config->setReadingSpeed($this->getContainer()->getParameter('wallabag_core.reading_speed'));
$config->setLanguage($this->getContainer()->getParameter('wallabag_core.language'));
$em->persist($config);