diff --git a/lib.inc.php3 b/lib.inc.php3 index d8b01cdd8..e8218366e 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -281,6 +281,11 @@ if (!defined('__LIB_INC__')){ } } + // Check how the config says to connect to the server + if (strtolower($cfgServer['connect_type']) == 'tcp') { + $cfgServer['socket'] = ''; + } + // Calls the authentication window or validates user's login if ($do_auth) { auth();