mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-25 00:46:53 +00:00
add idea
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
2fc2be363a
commit
4acc9d8f41
4 changed files with 11 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ if (getenv('REDIS_HOST')) {
|
|||
$CONFIG['redis']['dbindex'] = (int) getenv('REDIS_DB_INDEX');
|
||||
}
|
||||
|
||||
if (getenv('REDIS_USER') !== false) {
|
||||
$CONFIG['redis']['user'] = getenv('REDIS_USER');
|
||||
if (getenv('REDIS_USER_AUTH') !== false) {
|
||||
$CONFIG['redis']['user'] = str_replace("&auth[]=", "", getenv('REDIS_USER_AUTH'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue