File tree Expand file tree Collapse file tree 9 files changed +36
-0
lines changed
Expand file tree Collapse file tree 9 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+
18+ if (getenv ('REDIS_HOST_USER ' ) !== false ) {
19+ $ CONFIG ['redis ' ]['user ' ] = (string ) getenv ('REDIS_HOST_USER ' );
20+ }
1721}
You can’t perform that action at this time.
0 commit comments