phpBB

Code Changes

File: phpbb/cache/driver/memcached.php

  Unmodified   Added   Modified   Removed
Line 65Line 65
			$this->memcached->setOption(\Memcached::OPT_COMPRESSION, false);
}


			$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);

		{
preg_match('#(.*)/(\d+)#', $u, $parts);

			$this->memcache->addServer(trim($parts[1]), (int) trim($parts[2]));

			$this->memcached->addServer(trim($parts[1]), (int) trim($parts[2]));

		}
}


		}
}