commit
3cc8a8e2ee
@ -1778,7 +1778,7 @@ class FormFile
|
|||||||
|
|
||||||
// Share link
|
// Share link
|
||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
if ($file['share']) {
|
if (!empty($file['share'])) {
|
||||||
// Define $urlwithroot
|
// Define $urlwithroot
|
||||||
$urlwithouturlroot = preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
|
$urlwithouturlroot = preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
|
||||||
$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user