file_check() is not only used by the file protocol, adjust #ifdef accordingly.
Attach a file by drag & drop or click to upload