mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/14503] Enable superglobals in cli
This commit is contained in:
commit
72bdbf52cc
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ require($startup_path);
|
||||||
|
|
||||||
$input = new ArgvInput();
|
$input = new ArgvInput();
|
||||||
|
|
||||||
|
// Enable superglobals for cli support
|
||||||
|
$phpbb_installer_container->get('request')->enable_super_globals();
|
||||||
|
|
||||||
/** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
|
/** @var \phpbb\filesystem\filesystem $phpbb_filesystem */
|
||||||
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');
|
$phpbb_filesystem = $phpbb_installer_container->get('filesystem');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue