diff options
author | tilosp-bot <git-bot@tilosp.de> | 2020-07-16 07:22:28 +0000 |
---|---|---|
committer | tilosp-bot <git-bot@tilosp.de> | 2020-07-16 07:22:28 +0000 |
commit | 45f3995ab7c46fff7d7e779a00b69443f9a90fa6 (patch) | |
tree | ccc5c55805dd898b3807e7faf7415db2e3c9f83d /17.0-rc/fpm/config/redis.config.php | |
parent | 8c623fd1562666a7a35ed8ce8b06a7882d1b0459 (diff) |
Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
Diffstat (limited to '17.0-rc/fpm/config/redis.config.php')
-rw-r--r-- | 17.0-rc/fpm/config/redis.config.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/17.0-rc/fpm/config/redis.config.php b/17.0-rc/fpm/config/redis.config.php deleted file mode 100644 index 9429c901..00000000 --- a/17.0-rc/fpm/config/redis.config.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -if (getenv('REDIS_HOST')) { - $CONFIG = array ( - 'memcache.distributed' => '\OC\Memcache\Redis', - 'memcache.locking' => '\OC\Memcache\Redis', - 'redis' => array( - 'host' => getenv('REDIS_HOST'), - 'password' => getenv('REDIS_HOST_PASSWORD'), - ), - ); - - if (getenv('REDIS_HOST_PORT') !== false) { - $CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT'); - } elseif (getenv('REDIS_HOST')[0] != '/') { - $CONFIG['redis']['port'] = 6379; - } -} |