mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
Merge pull request #4197 from marc1706/ticket/14503
[ticket/14503] Enable superglobals in cli
This commit is contained in:
commit
f0a33dca72
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