mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSlog_handler : fix undefined index errors on CLI context
This commit is contained in:
parent
b574300ab3
commit
6db3543ec0
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ class LSlog_handler {
|
|||
'logger' => ($logger?$logger:'default'),
|
||||
'datetime' => date('Y/m/d H:i:s'),
|
||||
'clibinpath' => (isset($argv)?$argv[0]:'unknown bin path'),
|
||||
'requesturi' => (isset($_SERVER)?$_SERVER['REQUEST_URI']:'unknown request URI'),
|
||||
'remoteaddr' => (isset($_SERVER)?$_SERVER['REMOTE_ADDR']:'unknown remote address'),
|
||||
'requesturi' => (isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:'unknown request URI'),
|
||||
'remoteaddr' => (isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'unknown remote address'),
|
||||
'ldapservername' => self :: getLdapServerName(),
|
||||
'authuser' => self :: getAuthenticatedUserDN(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue