mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Fix: alternative url were sometimes relative to server, sometimes to
DOL_URL_ROOT. Fix to be always relative to DOL_URL_ROOT.
This commit is contained in:
@@ -1729,7 +1729,7 @@ function img_picto($alt, $picto, $options = '', $pictoisfullpath = false, $srcon
|
||||
if ($type == 'main') continue;
|
||||
if (file_exists($dirroot.'/'.$path.'/img/'.$picto))
|
||||
{
|
||||
$url=$conf->file->dol_url_root[$type];
|
||||
$url=DOL_URL_ROOT.$conf->file->dol_url_root[$type];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user