From 54fd0d02262f27a75bf02ed1064bf96c112e8787 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 7 Oct 2022 12:01:13 +0200 Subject: [PATCH] Aggiunte excluded dir per verifica numero file e spazio --- modules/stato_servizi/actions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/stato_servizi/actions.php b/modules/stato_servizi/actions.php index a2c38b2fd..27aa7a636 100755 --- a/modules/stato_servizi/actions.php +++ b/modules/stato_servizi/actions.php @@ -322,7 +322,8 @@ switch (filter('op')) { foreach ($dirs as $dir => $description) { $excluded_extensions = ['htaccess','gitkeep']; - $excluded_dir = [DOCROOT.'\files\impianti', DOCROOT.'\files\importFE', DOCROOT.'\files\importFE']; + //Tutte le cartelle che non prevedono log in zz_files + $excluded_dir = [DOCROOT.'\files\impianti', DOCROOT.'\files\importFE', DOCROOT.'\files\exportFE', DOCROOT.'\files\receiptFE', DOCROOT.'\files\temp']; $size = FileSystem::folderSize($dir, array_merge($excluded_extensions,$excluded_dir));