Stickler
This commit is contained in:
parent
23c4cfe913
commit
bc457ebb66
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user