2
0
forked from Wavyzz/dolibarr
This commit is contained in:
ldestailleur
2025-10-03 19:20:28 +02:00
parent 406f722cf9
commit 31394457f1

View File

@@ -2905,7 +2905,7 @@ function acceptLocalLinktoMedia()
$acceptlocallinktomedia = getDolGlobalInt('MAIN_DISALLOW_MEDIAS_IN_EMAIL_TEMPLATES') ? 0 : 1;
// By default we acceptto add medias from emails templates but this may be refused if later
// By default we accept to add medias from emails templates but this may be refused in the future
// we detect we are not on a public url that we can access remotely (if we are on a private network, such files can't be reached),
// except if MAIN_ALLOW_WYSIWYG_LOCAL_MEDIAS_ON_PRIVATE_NETWORK is net, in which case we accept also if instance has a local or private network URL.