diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-11-10 15:01:18 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-11-10 15:01:18 +0100 |
commit | 079b3d074d905c1982ec22840caae808c3b588f3 (patch) | |
tree | 07e9abf7bcae45b6e39b4100f18fa6f5b0bd0981 /phpBB/phpbb/install | |
parent | 024ec8618124d4607bd32154d444c605e59a97b1 (diff) | |
download | forums-079b3d074d905c1982ec22840caae808c3b588f3.tar forums-079b3d074d905c1982ec22840caae808c3b588f3.tar.gz forums-079b3d074d905c1982ec22840caae808c3b588f3.tar.bz2 forums-079b3d074d905c1982ec22840caae808c3b588f3.tar.xz forums-079b3d074d905c1982ec22840caae808c3b588f3.zip |
[ticket/14281] Fix installer CLI after recent changes
PHPBB3-14281
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r-- | phpBB/phpbb/install/console/command/install/config/show.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/install/console/command/install/install.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/console/command/install/config/show.php b/phpBB/phpbb/install/console/command/install/config/show.php index 4155440fc3..587b5f4846 100644 --- a/phpBB/phpbb/install/console/command/install/config/show.php +++ b/phpBB/phpbb/install/console/command/install/config/show.php @@ -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; } diff --git a/phpBB/phpbb/install/console/command/install/install.php b/phpBB/phpbb/install/console/command/install/install.php index 81ad1039f6..d76182af92 100644 --- a/phpBB/phpbb/install/console/command/install/install.php +++ b/phpBB/phpbb/install/console/command/install/install.php @@ -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; } |