mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Merge pull request #984 from Lacrimosa99/patch-1
Screenlog Download not working
This commit is contained in:
commit
d378b5faea
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user