This commit is contained in:
Dennis Eichhorn 2020-02-09 15:46:16 +01:00
parent ae55407219
commit 204f3138c9

View File

@ -25,7 +25,7 @@ namespace phpOMS\System\File;
final class FileUtils
{
public const CODE_EXTENSION = ['cpp', 'c', 'h', 'hpp', 'cs', 'css', 'scss', 'htm', 'html', 'js', 'java', 'sh', 'vb', 'php', 'rb', 'rs', 'ts', 'swift', 'class', 'htaccess', 'sql', 'py', 'bat', 'xml'];
public const TEXT_EXTENSION = ['log', 'txt', 'md', 'csv', 'tex', 'latex', 'cfg', 'config', 'conf', 'ini'];
public const TEXT_EXTENSION = ['log', 'txt', 'md', 'csv', 'tex', 'latex', 'cfg', 'json', 'config', 'conf', 'ini', 'yaml', 'yml'];
public const WORD_EXTENSION = ['doc', 'docx', 'rtf', 'odt'];
public const PRESENTATION_EXTENSION = ['ppt', 'pptx', 'pps', 'odp', 'key'];
public const PDF_EXTENSION = ['pdf'];