mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15747] Change parameter depth to boolean
PHPBB3-15747
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
$phpbb_root_path = getcwd() . DIRECTORY_SEPARATOR;
|
||||
|
||||
$this->adapter = new \phpbb\storage\adapter\local($this->filesystem, new \FastImageSize\FastImageSize(), new \phpbb\mimetype\guesser(array(new \phpbb\mimetype\extension_guesser)), $phpbb_root_path);
|
||||
$this->adapter->configure(['path' => 'test_path', 'depth' => 2]);
|
||||
$this->adapter->configure(['path' => 'test_path', 'subfolders' => true]);
|
||||
|
||||
$this->path = $phpbb_root_path . 'test_path/';
|
||||
mkdir($this->path);
|
||||
|
Reference in New Issue
Block a user