aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xphpBB/install/phpbbcli.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/install/phpbbcli.php b/phpBB/install/phpbbcli.php
index 70a8a9c7ea..6b0ac39f84 100755
--- a/phpBB/install/phpbbcli.php
+++ b/phpBB/install/phpbbcli.php
@@ -36,6 +36,9 @@ require($startup_path);
$input = new ArgvInput();
+// Enable superglobals for cli support
+$phpbb_installer_container->get('request')->enable_super_globals();
+
/** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');