forked from Wavyzz/dolibarr
NEW Add method getPublicImageOfObject() for website module
This commit is contained in:
@@ -10847,8 +10847,6 @@ function ajax_autoselect($htmlname, $addlink = '', $textonlink = 'Link')
|
||||
*/
|
||||
function dolIsAllowedForPreview($file)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
// Check .noexe extension in filename
|
||||
if (preg_match('/\.noexe$/i', $file)) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user