mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 13:00:26 +02:00
[ticket/11362] Use container when available instead of creating a new instance
PHPBB3-11362
This commit is contained in:
@@ -1062,7 +1062,7 @@ function phpbb_clean_path($path)
|
||||
|
||||
if ($phpbb_container)
|
||||
{
|
||||
$phpbb_filesystem = new phpbb_filesystem();
|
||||
$phpbb_filesystem = $phpbb_container->get('filesystem');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user