1
0
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:
Marc Alexander 2016-02-28 12:28:21 +01:00
parent b490be1f81
commit f65207b935

View File

@ -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');