mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-31 21:21:55 +00:00
SSH2: realtime_file logging update
This commit is contained in:
parent
8aada4b30d
commit
a48871a865
@ -2774,7 +2774,7 @@ class Net_SSH2 {
|
|||||||
case NET_SSH2_LOG_REALTIME_FILE:
|
case NET_SSH2_LOG_REALTIME_FILE:
|
||||||
if (!isset($this->realtime_log_file)) {
|
if (!isset($this->realtime_log_file)) {
|
||||||
// PHP doesn't seem to like using constants in fopen()
|
// PHP doesn't seem to like using constants in fopen()
|
||||||
$filename = NET_SSH2_LOG_REALTIME_FILE;
|
$filename = NET_SSH2_LOG_REALTIME_FILENAME;
|
||||||
$fp = fopen($filename, 'w');
|
$fp = fopen($filename, 'w');
|
||||||
$this->realtime_log_file = $fp;
|
$this->realtime_log_file = $fp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user