mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15401] Use separate constant for memcached driver config
PHPBB3-15401
This commit is contained in:
committed by
Marc Alexander
parent
e1966c3476
commit
5aceccf00b
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]));
|
||||
|
Reference in New Issue
Block a user