summaryrefslogtreecommitdiff
path: root/adodb-memcache.lib.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2022-03-29 17:03:00 +0200
committerDamien Regad <dregad@mantisbt.org>2022-03-30 10:38:22 +0200
commit4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6 (patch)
treeb55ed2929a9ba15dd68de0c8935f9d2f99d34ab7 /adodb-memcache.lib.inc.php
parentb6e4a57a16d87541ee134f9c1ab8a9d878a28236 (diff)
downloadadodb-4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6.tar.gz
adodb-4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6.tar.bz2
adodb-4cd1639371db8aa4fa2cd700f6f9c4b168d5f5b6.zip
memcache: use default port in server controller template
Fixes #824
Diffstat (limited to 'adodb-memcache.lib.inc.php')
-rw-r--r--adodb-memcache.lib.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/adodb-memcache.lib.inc.php b/adodb-memcache.lib.inc.php
index a9848aa6..a251c9c3 100644
--- a/adodb-memcache.lib.inc.php
+++ b/adodb-memcache.lib.inc.php
@@ -114,7 +114,7 @@ class ADODB_Cache_MemCache
public function __construct($db)
{
$this->hosts = $db->memCacheHost;
- $this->port = $db->memCachePort;
+ $this->port = $this->serverControllerTemplate['port'] = $db->memCachePort;
$this->compress = $db->memCacheCompress;
$this->options = $db->memCacheOptions;
}