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/install/phpbbcli.php | |
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/install/phpbbcli.php')
-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'); |