mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 03:09:21 +02:00
Fixed syntaxlogic bugs in proxy utilisation, thanks to forum member pierre
This commit is contained in:
parent
c2a001eea4
commit
2b59c7db1f
@ -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.
|
||||
|
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user