This commit is contained in:
Alexandre SPANGARO 2020-09-16 21:22:59 +02:00
parent 23c4cfe913
commit bc457ebb66

View File

@ -7745,7 +7745,8 @@ function ajax_autoselect($htmlname, $addlink = '')
* @return int 1 If allowed, 0 otherwise * @return int 1 If allowed, 0 otherwise
* @see dol_mimetype(), image_format_supported() from images.lib.php * @see dol_mimetype(), image_format_supported() from images.lib.php
*/ */
function dolIsAllowedForPreview($file) { function dolIsAllowedForPreview($file)
{
global $conf; global $conf;
// Check .noexe extension in filename // Check .noexe extension in filename