diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2023-12-25 05:41:23 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2023-12-25 05:41:23 +0000 |
commit | fca92cee665b69cdddb247da3ee854a4260219d7 (patch) | |
tree | 8a6e196992c6837615d20d9f9e87631fcc95e0f6 | |
parent | c9e60280e90b532fd73aebd5e28284d921590108 (diff) | |
download | pmwiki.svn-fca92cee665b69cdddb247da3ee854a4260219d7.tar.bz2 |
Handle $EnableUploadMimeMatch with Fileinfo not enabled (cont.)
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4567 524c5546-5005-0410-9a3e-e25e191bd360
-rw-r--r-- | scripts/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upload.php b/scripts/upload.php index 14bf0569..24073ca4 100644 --- a/scripts/upload.php +++ b/scripts/upload.php @@ -112,7 +112,7 @@ XLSDV('en',array( 'ULsuccess' => 'successfully uploaded', 'ULinvalidtoken' => 'Token invalid or missing.', 'ULmimemismatch' => 'extension \'$upext\' doesn\'t match file type \'$upmime\'', - 'ULfileinfo' => 'PHP Fileinfo functions need to be enabled, see https://php.net/fileinfo.installation', + 'ULfileinfo' => '$EnableUploadMimeMatch requires PHP Fileinfo functions to be enabled, see https://php.net/fileinfo.installation', 'ULauthorrequired' => 'An author name is required.', 'ULbadname' => 'invalid attachment name', 'ULbadtype' => '\'$upext\' is not an allowed file extension', |