diff --git a/config-redis.php b/config-redis.php index 96f7437..25fdea0 100644 --- a/config-redis.php +++ b/config-redis.php @@ -7,6 +7,8 @@ if (!$connected) { return "Can't connect to REDIS"; } + // Successful connection + return $redis; } catch (Exception $e) { return $e->getMessage(); }