1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13904] Remove phpbb_root_path global from filespec class

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-06-02 15:46:41 +02:00
parent 52652ca182
commit b871dbcf1f
5 changed files with 22 additions and 13 deletions

View File

@@ -58,6 +58,7 @@ class phpbb_fileupload_test extends phpbb_test_case
$this->container->set('files.filespec', new \phpbb\files\filespec(
$this->filesystem,
$this->language,
$phpbb_root_path,
new \phpbb\mimetype\guesser(array(
'mimetype.extension_guesser' => new \phpbb\mimetype\extension_guesser(),
))));