2
0
forked from Wavyzz/dolibarr

NEW Add method getPublicImageOfObject() for website module

This commit is contained in:
Laurent Destailleur
2024-01-12 13:05:14 +01:00
parent 866b44e34e
commit aba9afe9f1
17 changed files with 122 additions and 29 deletions

View File

@@ -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;