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 a7e700c7cd..4b86f64e2a 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');