mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
ошибки после Revision: 64545
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@64714 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander.Trofimov
parent
9dd2289bac
commit
0deb650125
@ -579,7 +579,9 @@ exports.getFileFormat = function(buffer, optExt) {
|
||||
}
|
||||
//меняем местами getFileFormatBySignature и getFileFormatByZip(epub распознается как html)
|
||||
//signature
|
||||
format = getFileFormatBySignature(buffer);
|
||||
if (constants.AVS_OFFICESTUDIO_FILE_UNKNOWN == format) {
|
||||
format = getFileFormatBySignature(buffer);
|
||||
}
|
||||
//возвращаем тип по расширению
|
||||
if (constants.AVS_OFFICESTUDIO_FILE_UNKNOWN == format && optExt) {
|
||||
if ('.mht' == optExt) {
|
||||
|
||||
Reference in New Issue
Block a user