summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-11-10 17:55:55 +0100
committerAndrey Andreev <narf@devilix.net>2014-11-10 17:55:55 +0100
commita8f29f9ddaeac5cee582a51ce7f255459e1ca711 (patch)
tree606a4bf7072255c962f15216389b4b8d787ecb9a
parentde5c246dfcaf1c92e8b77830249df44b3cca2e8c (diff)
#3073 (feature/session): (Try to) fix memcached driver
-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];
}
}