diff --git a/ChangeLog b/ChangeLog index f5b11ad..359ec07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 3.2.2 (stable), ????-??-?? +- Fixed syntaxlogic bugs in proxy utilisation, thanks to forum + member pierre: http://kb.monitorware.com/post-t10570.html#p20033 +--------------------------------------------------------------------------- Version 3.2.1 (stable), 2011-04-12 - Fixed timezone parsing in GetEventTime function. This caused problems reading date/time strings with negative timezone offsets. diff --git a/src/include/functions_users.php b/src/include/functions_users.php index d69aa68..b35794c 100644 --- a/src/include/functions_users.php +++ b/src/include/functions_users.php @@ -216,10 +216,10 @@ function CheckUserLogin( $username, $password ) // --- // --- Now we check for an PhpLogCon Update - if ( strlen(GetConfigSetting("UseProxyServerForRemoteQueries", "") > 0) ) + if ( strlen(GetConfigSetting("UseProxyServerForRemoteQueries", "")) > 0 ) { // Proxy Server configured, create a context with proxy option! - $opts = array('http' => array('proxy' => 'tcp://' + GetConfigSetting("UseProxyServerForRemoteQueries", ""), 'request_fulluri' => true)); + $opts = array('http' => array('proxy' => 'tcp://' . GetConfigSetting("UseProxyServerForRemoteQueries", ""), 'request_fulluri' => true)); $context = stream_context_create($opts); // Create handle with my context!