diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-05-31 17:19:42 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-08 01:28:08 +0200 |
commit | 06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3 (patch) | |
tree | 23923bb100b08fe4a0e30c5a98cccad8f6148f42 /phpBB/phpbb/install/module | |
parent | 524b98e7bd19bff7b12c7ba4c771d6d60d4300a6 (diff) | |
download | forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.gz forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.bz2 forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.tar.xz forums-06f4ebce1b1cc8ecd5ddd84f7d2705007a685de3.zip |
[ticket/13740] CLI installer and fixes
[ci skip]
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/module')
-rw-r--r-- | phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/install/module/requirements/module.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php b/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php index 0c1146d9f5..f0e7f1f686 100644 --- a/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php +++ b/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php @@ -238,7 +238,7 @@ class obtain_database_data extends \phpbb\install\task_base implements \phpbb\in $connect_test = $this->database_helper->check_database_connection($dbms, $dbhost, $dbport, $dbuser, $dbpass, $dbname, $table_prefix); if (is_array($connect_test)) { - foreach ($prefix_valid as $error) + foreach ($connect_test as $error) { $this->io_handler->add_error_message( $error['title'], diff --git a/phpBB/phpbb/install/module/requirements/module.php b/phpBB/phpbb/install/module/requirements/module.php index d87ca15128..208cb5aad6 100644 --- a/phpBB/phpbb/install/module/requirements/module.php +++ b/phpBB/phpbb/install/module/requirements/module.php @@ -14,6 +14,7 @@ namespace phpbb\install\module\requirements; use phpbb\install\exception\user_interaction_required_exception; +use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; class module extends \phpbb\install\module_base { |