diff options
| author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-11-23 22:01:07 +0100 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-11-23 22:01:07 +0100 |
| commit | 30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b (patch) | |
| tree | 7a41bfee88680b17447d8c526b9fc14b7d742341 /phpBB/install | |
| parent | 75e9b2a18d0ae8531e056bdd2c7feb6739ef011e (diff) | |
| parent | a6acbc445e58bbc42080f5c77c0671a5c9c01060 (diff) | |
| download | forums-30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b.tar forums-30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b.tar.gz forums-30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b.tar.bz2 forums-30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b.tar.xz forums-30e01a9e4b91865a32a9afc4e5d4deb9bb9a933b.zip | |
Merge pull request #4026 from marc1706/ticket/14281
[ticket/14281] Fix installer CLI after recent changes
* marc1706/ticket/14281:
[ticket/14281] Add install/phpbbcli.php to executable files list
[ticket/14281] Correctly pass parameters to add_error_message
[ticket/14281] Fix installer CLI after recent changes
Diffstat (limited to 'phpBB/install')
| -rwxr-xr-x[-rw-r--r--] | phpBB/install/phpbbcli.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/install/phpbbcli.php b/phpBB/install/phpbbcli.php index ecdb66ade3..e36922f1a5 100644..100755 --- a/phpBB/install/phpbbcli.php +++ b/phpBB/install/phpbbcli.php @@ -12,6 +12,8 @@ * */ +use Symfony\Component\Console\Input\ArgvInput; + if (php_sapi_name() !== 'cli') { echo 'This program must be run from the command line.' . PHP_EOL; @@ -31,6 +33,8 @@ $startup_new_path = $phpbb_root_path . 'install/update/update/new/install/startu $startup_path = (file_exists($startup_new_path)) ? $startup_new_path : $phpbb_root_path . 'install/startup.' . $phpEx; require($startup_path); +$input = new ArgvInput(); + /** @var \phpbb\filesystem\filesystem $phpbb_filesystem */ $phpbb_filesystem = $phpbb_installer_container->get('filesystem'); |
