SSH2: realtime_file logging update

This commit is contained in:
terrafrost 2013-05-10 17:45:57 -04:00
parent 8aada4b30d
commit a48871a865

View File

@ -2774,7 +2774,7 @@ class Net_SSH2 {
case NET_SSH2_LOG_REALTIME_FILE:
if (!isset($this->realtime_log_file)) {
// 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');
$this->realtime_log_file = $fp;
}