Merge pull request #984 from Lacrimosa99/patch-1

Screenlog Download not working
This commit is contained in:
Ulrich Block 2017-05-01 09:12:24 +02:00 committed by GitHub
commit d378b5faea

View File

@ -77,7 +77,7 @@ while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$ftpConnect = new EasyWiFTP($row['ftp_ip'], $row['ftpport'], $username, $ftppass);
$downloadChrooted = $ftpConnect->removeSlashes($pserver . $row['serverip'] . '_' . $row['port'] . '/' . $shorten . '/' . $row['binarydir'] . '/screenlog.0');
$downloadChrooted = $ftpConnect->removeSlashes($pserver . '/' . $shorten . '/' . $row['binarydir'] . '/screenlog.0');
if ($ftpConnect->ftpConnection) {
@ -98,4 +98,4 @@ if ($query->rowCount() < 1) {
$array['error'] = 'Error: No rootID';
}
die(json_encode($array));
die(json_encode($array));