Skip to content
Snippets Groups Projects
Commit 44b6b8cc authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix purge of log files was missing some log files.

parent a487492a
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ class Utils
// Define files log
if ($dolibarr_main_data_root)
{
$filesarray=dol_dir_list($dolibarr_main_data_root, "files", 0, '.*\.log$', 'install\.lock$');
$filesarray=dol_dir_list($dolibarr_main_data_root, "files", 0, '.*\.log[\.0-9]*$', 'install\.lock$');
}
$filelog='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment