diff --git a/.config/01redis.config.php b/.config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/.config/01redis.config.php +++ b/.config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.06/apache/config/01redis.config.php b/2019.06/apache/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.06/apache/config/01redis.config.php +++ b/2019.06/apache/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.06/fpm-alpine/config/01redis.config.php b/2019.06/fpm-alpine/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.06/fpm-alpine/config/01redis.config.php +++ b/2019.06/fpm-alpine/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.06/fpm/config/01redis.config.php b/2019.06/fpm/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.06/fpm/config/01redis.config.php +++ b/2019.06/fpm/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.09-dev/apache/config/01redis.config.php b/2019.09-dev/apache/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.09-dev/apache/config/01redis.config.php +++ b/2019.09-dev/apache/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.09-dev/fpm-alpine/config/01redis.config.php b/2019.09-dev/fpm-alpine/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.09-dev/fpm-alpine/config/01redis.config.php +++ b/2019.09-dev/fpm-alpine/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; } diff --git a/2019.09-dev/fpm/config/01redis.config.php b/2019.09-dev/fpm/config/01redis.config.php index 422e4a5..1a43c95 100644 --- a/2019.09-dev/fpm/config/01redis.config.php +++ b/2019.09-dev/fpm/config/01redis.config.php @@ -10,4 +10,6 @@ if (getenv('REDIS_HOST')) { 'redis_db' => (getenv('REDIS_DB') ? getenv('REDIS_DB') : 0), ], ]; +} else { + return []; }