Merge fdfacbd774 into 168c570a07
This commit is contained in:
commit
42b21fffbd
@ -13,6 +13,8 @@ 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;
|
||||
}
|
||||
|
||||
if (getenv('REDIS_HOST_USER') !== false) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user