1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 16:10:38 +01:00

Merge pull request #4999 from marc1706/ticket/15401

[ticket/15401] Use separate constant for memcached driver config
This commit is contained in:
Marc Alexander 2017-10-15 21:31:53 +02:00
commit ee9eb586dd
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -65,7 +65,7 @@ class memcached extends \phpbb\cache\driver\memory
$this->memcached->setOption(\Memcached::OPT_COMPRESSION, false);
}
foreach (explode(',', PHPBB_ACM_MEMCACHE) as $u)
foreach (explode(',', PHPBB_ACM_MEMCACHED) as $u)
{
preg_match('#(.*)/(\d+)#', $u, $parts);
$this->memcached->addServer(trim($parts[1]), (int) trim($parts[2]));