mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 13:18:54 +00:00
[ticket/15287] Change adapter to provider in config_name
PHPBB3-15287
This commit is contained in:
parent
e41d4b0d0c
commit
42dcce34de
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class adapter_factory
|
||||||
*/
|
*/
|
||||||
public function get($storage_name)
|
public function get($storage_name)
|
||||||
{
|
{
|
||||||
$provider_class = $this->config['storage\\' . $storage_name . '\\adapter'];
|
$provider_class = $this->config['storage\\' . $storage_name . '\\provider'];
|
||||||
$provider = $this->providers->get_by_class($provider_class);
|
$provider = $this->providers->get_by_class($provider_class);
|
||||||
|
|
||||||
if (!$provider->is_available())
|
if (!$provider->is_available())
|
||||||
|
|
Loading…
Add table
Reference in a new issue