From 446949738bfccbfa089227ccd96cc166c47b96b2 Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Wed, 12 Apr 2017 18:22:01 +0200 Subject: [PATCH] - fixed Socket setup if SocketURL is not found, closed #464 --- app/main/lib/socket.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/main/lib/socket.php b/app/main/lib/socket.php index 035b2d68..25d9030e 100644 --- a/app/main/lib/socket.php +++ b/app/main/lib/socket.php @@ -104,7 +104,10 @@ class Socket { $this->initSocket(); - if( !$this->socket ){ + if( + !$this->socket || + !$this->socketUri + ){ // Socket not active (e.g. URI missing) return $response; }