1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Fixes #4114 - Better file inspector corruption warning message

Now advises admins to reupload using binary mode if the admin uploads
files with FTP
This commit is contained in:
Nick Liu
2020-04-29 10:50:50 -05:00
parent b360e551dd
commit 7291ebc8b1
2 changed files with 5 additions and 2 deletions

View File

@@ -1627,6 +1627,7 @@ class e107
"File Inspector will be inoperative. " .
"Resolve this issue by uploading a good copy of the core image to " .
escapeshellarg($fileInspectorPath) . ". " .
"If uploading with FTP, use binary transfer mode. " .
"Error message: " .
$e->getMessage()
);