mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 16:41:26 +02:00
Merge pull request #4197 from marc1706/ticket/14503
[ticket/14503] Enable superglobals in cli
This commit is contained in:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user