Screenlog Download not working

Failure in Screenlog Download.
Missing File or not found.

Fixed in Line 80.
This commit is contained in:
Lacrimosa99 2017-04-17 20:57:53 +02:00 committed by GitHub
parent c28010734f
commit b33e11147d

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));