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

[ticket/13904] Split code up and pass root path to remote upload type

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-07-15 23:10:23 +02:00
parent 0a6f54d522
commit a09c6d1fb7
3 changed files with 43 additions and 26 deletions

View File

@@ -56,7 +56,7 @@ class phpbb_functional_fileupload_remote_test extends phpbb_functional_test_case
$container->set('files.filespec', new \phpbb\files\filespec($this->filesystem, $this->language, $this->phpbb_root_path));
$this->factory = new \phpbb\files\factory($container);
$container->set('files.factory', $this->factory);
$container->set('files.types.remote', new \phpbb\files\types\remote($this->factory, $this->language, $this->request));
$container->set('files.types.remote', new \phpbb\files\types\remote($this->factory, $this->language, $this->request, $phpbb_root_path));
$this->phpbb_root_path = $phpbb_root_path;
}