1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-31 03:59:52 +02:00

[ticket/15287] Update storage

PHPBB3-15287
This commit is contained in:
Rubén Calvo
2017-07-19 14:26:07 +02:00
parent 51d42b2ced
commit af21b8b6c1
6 changed files with 126 additions and 5 deletions

View File

@@ -20,9 +20,9 @@ class storage
{
protected $adapter;
public function __construct($adapter)
public function __construct($factory, $storage_name)
{
$this->adapter = $adapter;
$this->adapter = $factory->get($storage_name);
}
public function put_contents($path, $content)