This commit is contained in:
Josh 2025-11-29 03:03:22 -05:00 committed by GitHub
commit 42b21fffbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {