S
S
Sergey Kiselyov2020-09-04 11:08:44
Netcat CMS
Sergey Kiselyov, 2020-09-04 11:08:44

How to make friends between the WebP format and CMS NetCat?

Good afternoon.
The question is that in NETCAT CMS, when loading WebP files through the CKEditor editor, an error occurs with the following content:

File upload is prohibited.
Only the specified files are allowed: jpg, jpeg, gif, png, svg, txt, pdf, odp, ods, odt, rtf, doc, docx, xls, xlsx, ppt, pptx, ogv, mp4, webm, ogg, mp3, wav .


The question is how to allow the format to be loaded.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-09-04
@sTantal

\netcat\editors\ckeditor4\filemanager\scripts\filemanager.config.js

"security": {
        "uploadPolicy": "DISALLOW_ALL",
        "uploadRestrictions": [
            "jpg",
            "jpeg",
            "gif",
            "png",
            "svg",
            "txt",
            "pdf",
            "odp",
            "ods",
            "odt",
            "rtf",
            "doc",
            "docx",
            "xls",
            "xlsx",
            "ppt",
            "pptx",
            "ogv",
            "mp4",
            "webm",
            "ogg",
            "mp3",
            "wav",
            "webp"
        ]
    },

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question