diff --git a/lib/file-control.php b/lib/file-control.php index 5040442..9942815 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -101,7 +101,7 @@ if ($_GET['action']=="load") { exit; } // Get our file contents and close the FTP connection - $loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $ftpRoot.$fileLoc."/".$fileName, $ftpMode)); + $loadedFile = toUTF8noBOM(ftpGetContents($ftpConn, $ftpRoot.$fileLoc."/".$fileName, $ftpMode),false); ftpEnd(); // Get local file } else {