phpBB

Code Changes

File: phpbb/cache/driver/redis.php

  Unmodified   Added   Modified   Removed
Line 137Line 137
	*/
function _write($var, $data, $ttl = 2592000)
{

	*/
function _write($var, $data, $ttl = 2592000)
{

 
		if ($ttl == 0)
{
return $this->redis->set($var, $data);
}

		return $this->redis->setex($var, $ttl, $data);
}


		return $this->redis->setex($var, $ttl, $data);
}