Replace alert with message

This commit is contained in:
Matt Pass
2015-09-05 16:24:29 +01:00
parent 3221bea7a7
commit 1c99f127be

View File

@@ -127,7 +127,7 @@ if (isset($ftpSite)) {
ftpStart();
// Show user warning if no good connection
if (!$ftpConn || !$ftpLogin) {
die('<script>alert("Sorry, no FTP connection to '.$ftpHost.' for user '.$ftpUser.'");</script>');
die('<script>top.ICEcoder.message("Sorry, no FTP connection to '.$ftpHost.' for user '.$ftpUser.'");</script>');
exit;
}
// Get our simple and detailed lists and close the FTP connection