mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-13 12:22:03 +02:00
[ticket/14503] Enable superglobals in cli
This is for example needed for outputting help on commands. PHPBB3-14503
This commit is contained in:
parent
b490be1f81
commit
f65207b935
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user