mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-12 09:09:39 +01:00
Merge branch '2.0'
This commit is contained in:
commit
9cbf357ac5
@ -3873,10 +3873,9 @@ class SSH2
|
||||
switch (NET_SSH2_LOGGING) {
|
||||
case self::LOG_SIMPLE:
|
||||
return $this->message_number_log;
|
||||
break;
|
||||
case self::LOG_COMPLEX:
|
||||
return $this->format_log($this->message_log, $this->message_number_log);
|
||||
break;
|
||||
$log = $this->_format_log($this->message_log, $this->message_number_log);
|
||||
return PHP_SAPI == 'cli' ? $log : '<pre>' . $log . '</pre>';
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user