#3073 (feature/session): (Try to) fix memcached driver
diff --git a/application/config/config.php b/application/config/config.php
index 333e2e9..15785b8 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -328,7 +328,7 @@
|
| '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 8905e8d..2ee922f 100644
--- a/system/libraries/Session/drivers/Session_memcached_driver.php
+++ b/system/libraries/Session/drivers/Session_memcached_driver.php
@@ -114,7 +114,7 @@
}
else
{
- $server_list[] = $server['host'].':'.$server['port'];
+ $server_list[] = $match[1].':'.$match[2];
}
}