From: Aleksey Filippov Date: Thu, 19 Feb 2026 16:39:40 +0000 (+0300) Subject: auto-claude: subtask-2-1 - Добавить 'avi' в switch-case определения типа файла X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=5645e2534599e61ecd1eb878c4bf360d4621888a;p=erp24_rep%2Fyii-erp24%2F.git auto-claude: subtask-2-1 - Добавить 'avi' в switch-case определения типа файла Добавлена поддержка расширения 'avi' в определении типа файла как 'video' в методе saveUploadedFile() класса FileService. Co-Authored-By: Claude Opus 4.5 --- diff --git a/erp24/services/FileService.php b/erp24/services/FileService.php index e9be577d..55a027fd 100755 --- a/erp24/services/FileService.php +++ b/erp24/services/FileService.php @@ -167,7 +167,8 @@ class FileService case 'docx': case 'doc': $type = 'doc'; break; case 'mov': - case 'mp4': $type = 'video'; break; + case 'mp4': + case 'avi': $type = 'video'; break; } $fileRecord = new Files;