Merge fdfacbd774
into f7b20139eb
This commit is contained in:
commit
e136017c8e
|
@ -13,5 +13,7 @@ if (getenv('REDIS_HOST')) {
|
|||
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
|
||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||
$CONFIG['redis']['port'] = 6379;
|
||||
} elseif (getenv('REDIS_HOST')[0] == '/') {
|
||||
$CONFIG['redis']['port'] = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue