From d6d47d9f0ff8de32bba0f83bcd22d2f425d2e6de Mon Sep 17 00:00:00 2001 From: mattpass Date: Fri, 28 Feb 2020 17:19:03 +0000 Subject: [PATCH] top. removed in ftp and localhost --- lib/ftp-manager.php | 8 ++++---- lib/go-localhost-root.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ftp-manager.php b/lib/ftp-manager.php index 13a2a45..c9c9be0 100644 --- a/lib/ftp-manager.php +++ b/lib/ftp-manager.php @@ -18,7 +18,7 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset // Set the site ref in session, hide the popup and reload the file manager $_SESSION['ftpSiteRef'] = numClean($_GET['ftpSiteRef']); // Hide this popup and reload file manager - echo ""; + echo ""; } else { // Start creating a new chunk for the FTP sites $settingsNew = '"ftpSites" => array( @@ -109,10 +109,10 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset fclose($fh); // Finally, reload the iFrame screen for the user header("Location: ftp-manager.php?updatedFTPSites&csrf=".$_SESSION["csrf"]); - echo ""; + echo ""; die($t['Saving FTP sites']); } else { - echo ""; + echo ""; } } } @@ -147,7 +147,7 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset echo ''.$ftpSites[$i]['site'].''; echo ''.$ftpSites[$i]['host'].''; echo 'Edit'; - echo 'Delete'; + echo 'Delete'; echo '
'.$t['Choose'].'
'; echo ''; } diff --git a/lib/go-localhost-root.php b/lib/go-localhost-root.php index 70ea595..242976a 100644 --- a/lib/go-localhost-root.php +++ b/lib/go-localhost-root.php @@ -27,9 +27,9 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn']) { $_SESSION['ftpSiteRef'] = false; // Now we've reset the root path to localhost root, refresh the file manager to show it - echo ""; + echo ""; } else { - echo ""; + echo ""; } ?>