summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/config/config.php2
-rw-r--r--system/libraries/Session/drivers/Session_memcached_driver.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 333e2e988..15785b809 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -328,7 +328,7 @@ $config['encryption_key'] = '';
|
| 'sess_driver'
|
-| The storage driver to use: files, database, redis, memcache
+| The storage driver to use: files, database, redis, memcached
|
| 'sess_cookie_name'
|
diff --git a/system/libraries/Session/drivers/Session_memcached_driver.php b/system/libraries/Session/drivers/Session_memcached_driver.php
index 8905e8d6f..2ee922f94 100644
--- a/system/libraries/Session/drivers/Session_memcached_driver.php
+++ b/system/libraries/Session/drivers/Session_memcached_driver.php
@@ -114,7 +114,7 @@ class CI_Session_memcached_driver extends CI_Session_driver implements SessionHa
}
else
{
- $server_list[] = $server['host'].':'.$server['port'];
+ $server_list[] = $match[1].':'.$match[2];
}
}