From f8f4b748eedebcdafb05fd6b60dc0815f13dd954 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 13 Apr 2020 23:21:28 +0200 Subject: [PATCH] Update exemple --- htdocs/website/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index f8121d7778d..98fd0f43daf 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2281,7 +2281,8 @@ if (!GETPOST('hide_websitemenu')) $htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("ReadPerm"), DOL_DOCUMENT_ROOT); $htmltext .= '
'.$langs->trans("CheckVirtualHostPerms", $langs->transnoentitiesnoconv("WritePerm"), DOL_DATA_ROOT.'/website
'.DOL_DATA_ROOT.'/medias'); - $examplewithapache = ''."\n"; + $examplewithapache = '#php_admin_value open_basedir /tmp/:'.DOL_DOCUMENT_ROOT.':'.DOL_DATA_ROOT.':/dev/urandom'."\n"; + $examplewithapache .= ''."\n"; $examplewithapache .= 'AllowOverride FileInfo Options Options -Indexes -MultiViews -FollowSymLinks -ExecCGI Require all granted