aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/phpbbcli.php
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-02-28 14:50:32 +0100
committerMáté Bartus <mate.bartus@gmail.com>2016-02-28 14:50:32 +0100
commit72bdbf52ccd0e504e69947e157d4d24d327d34a8 (patch)
tree4ec2ff54f2588c2332eac8f7115e363aae8408a7 /phpBB/install/phpbbcli.php
parentf259a451bb99fc138bc3a753ee26903a20de5c54 (diff)
parentf0a33dca7255e2fb643d1a1e5fa4cfe42934fe2b (diff)
downloadforums-72bdbf52ccd0e504e69947e157d4d24d327d34a8.tar
forums-72bdbf52ccd0e504e69947e157d4d24d327d34a8.tar.gz
forums-72bdbf52ccd0e504e69947e157d4d24d327d34a8.tar.bz2
forums-72bdbf52ccd0e504e69947e157d4d24d327d34a8.tar.xz
forums-72bdbf52ccd0e504e69947e157d4d24d327d34a8.zip
Merge branch '3.2.x'
* 3.2.x: [ticket/14503] Enable superglobals in cli
Diffstat (limited to 'phpBB/install/phpbbcli.php')
-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');