6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/4/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3274] Cache/memcache use passed parametes
*
Your Email Address
*
Spam protection
Enter the letters below:
._.. .. __ . . | |_/ | / `\ / _|_| \|___\__. \/
Comment
> This patch fixes the cache memcache driver. It wasn't actually > functioning at all because it wasn't able to connect with no > connection parameters defined: > > > > --- memcache.php~ Fri Jan 13 18:58:05 2006 > > +++ memcache.php Sun Jan 15 14:49:56 2006 > > @@ -54,8 +54,8 @@ > > } > > > > $this->_db = new Memcache; > > - for ($i = 0, $n = count($this->_params['hostspec']); $i < > $n; ++$i) { > > - $this->_db->addServer($this->_params['hostspec'][$i], > $this->_params['port'][$i], $connect_persistent); > > + for ($i = 0, $n = count($params['hostspec']); $i < $n; ++$i) { > > + $this->_db->addServer($params['hostspec'][$i], > $params['port'][$i], $connect_persistent); > > } > > } > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers