1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14281] Fix installer CLI after recent changes

PHPBB3-14281
This commit is contained in:
Marc Alexander
2015-11-10 15:01:18 +01:00
parent 024ec86181
commit 079b3d074d
4 changed files with 9 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ class show extends \phpbb\console\command\command
if (!is_file($config_file))
{
$iohandler->add_error_message(array('MISSING_FILE', array($config_file)));
$iohandler->add_error_message('MISSING_FILE', array($config_file));
return;
}

View File

@@ -116,7 +116,7 @@ class install extends \phpbb\console\command\command
if (!is_file($config_file))
{
$iohandler->add_error_message(array('MISSING_FILE', array($config_file)));
$iohandler->add_error_message(array('MISSING_FILE', $config_file));
return 1;
}
@@ -127,7 +127,7 @@ class install extends \phpbb\console\command\command
}
catch (ParseException $e)
{
$iohandler->add_error_message('INVALID_YAML_FILE');
$iohandler->add_error_message(array('INVALID_YAML_FILE', $config_file));
return 1;
}