mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Accept Unix socket paths starting with unix:
This commit is contained in:
parent
fbd9af16a9
commit
697e0fd241
1 changed files with 5 additions and 1 deletions
|
|
@ -722,7 +722,11 @@ class adminAdminController extends admin
|
|||
{
|
||||
if ($vars->object_cache_type === 'memcached' || $vars->object_cache_type === 'redis')
|
||||
{
|
||||
if (starts_with('/', $vars->object_cache_host))
|
||||
if (starts_with('unix:/', $vars->object_cache_host))
|
||||
{
|
||||
$cache_servers = array(substr($vars->object_cache_host, 5));
|
||||
}
|
||||
elseif (starts_with('/', $vars->object_cache_host))
|
||||
{
|
||||
$cache_servers = array($vars->object_cache_host);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue