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