mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 14:02:12 +09:00
Add DB number to redis cache settings, and set the default to 1
This commit is contained in:
parent
503a332f9b
commit
8f9eacee64
8 changed files with 23 additions and 6 deletions
|
|
@ -675,6 +675,10 @@ class adminAdminController extends admin
|
|||
if ($vars->object_cache_type === 'memcached' || $vars->object_cache_type === 'redis')
|
||||
{
|
||||
$cache_servers = array($vars->object_cache_type . '://' . $vars->object_cache_host . ':' . intval($vars->object_cache_port));
|
||||
if ($vars->object_cache_type === 'redis')
|
||||
{
|
||||
$cache_servers[0] .= '/' . intval($vars->object_cache_dbnum);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue