From c561669edf0ad3f3374aa8183e36d6a3bf4243b6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 May 2021 17:02:22 +0200 Subject: [PATCH] Code comment --- htdocs/admin/system/security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/system/security.php b/htdocs/admin/system/security.php index 36f08309e02..a4060634ff9 100644 --- a/htdocs/admin/system/security.php +++ b/htdocs/admin/system/security.php @@ -155,7 +155,7 @@ print ''.$langs->trans("PermissionsOnFilesInWebRoot").': '; $arrayoffilesinroot = dol_dir_list(DOL_DOCUMENT_ROOT, 'all', 1, '', array('\/custom'), 'name', SORT_ASC, 4, 1, '', 1); $fileswithwritepermission = array(); foreach ($arrayoffilesinroot as $fileinroot) { - // Test permission on file + // Test if there is at least one write permission file. If yes, add the entry into array $fileswithwritepermission if ($fileinroot['perm'] & 0222) { $fileswithwritepermission[] = $fileinroot['relativename']; }