From b8007209cb963f58b277464f0f57364e169380e0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Feb 2021 13:54:47 +0100 Subject: [PATCH] Fix concat --- htdocs/website/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 1c9c234db9f..ca038935af9 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2854,7 +2854,7 @@ if (!GETPOST('hide_websitemenu')) $htmltext = $langs->trans("PreviewSiteServedByDolibarr", $langs->transnoentitiesnoconv("Page"), $langs->transnoentitiesnoconv("Page"), $realpage, $dataroot); $htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("ReadPerm"), '{s1}'); - $htmltext = str_replace('{s1}', $dataroot.'
'.DOL_DATA_ROOT.'/medias'.'
'.DOL_DOCUMENT_ROOT, $htmltext); + $htmltext = str_replace('{s1}', $dataroot.'
'.DOL_DATA_ROOT.'/medias
'.DOL_DOCUMENT_ROOT, $htmltext); //$htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("WritePerm"), '{s1}'); //$htmltext = str_replace('{s1}', DOL_DATA_ROOT.'/medias', $htmltext);