This commit is contained in:
Josh 2024-04-24 17:45:37 +02:00 committed by GitHub
commit e136017c8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}