aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/routing/file_locator.php')
-rw-r--r--phpBB/phpbb/routing/file_locator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/routing/file_locator.php b/phpBB/phpbb/routing/file_locator.php
index 64efcc6c76..bd2c1850bb 100644
--- a/phpBB/phpbb/routing/file_locator.php
+++ b/phpBB/phpbb/routing/file_locator.php
@@ -13,19 +13,19 @@
namespace phpbb\routing;
-use phpbb\filesystem\filesystem_interface;
use Symfony\Component\Config\FileLocator;
+use phpbb\filesystem\helper as filesystem_helper;
class file_locator extends FileLocator
{
- public function __construct(filesystem_interface $filesystem, $paths = [])
+ public function __construct($paths = [])
{
$paths = (array) $paths;
$absolute_paths = [];
foreach ($paths as $path)
{
- $absolute_paths[] = $filesystem->realpath($path);
+ $absolute_paths[] = filesystem_helper::realpath($path);
}
parent::__construct($absolute_paths);