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:
commit
ee9eb586dd
2
phpBB/phpbb/cache/driver/memcached.php
vendored
2
phpBB/phpbb/cache/driver/memcached.php
vendored
@ -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]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user