From 932f506230fc490f215ee5ac84302d9a2fa6fc51 Mon Sep 17 00:00:00 2001 From: Robin Johnson Date: Wed, 22 Aug 2001 22:11:33 +0000 Subject: [PATCH] line 285: $cfgServer['connect_type'] implemented --- lib.inc.php3 | 5 +++++ 1 file changed, 5 insertions(+) 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();