Aggiunte excluded dir per verifica numero file e spazio

This commit is contained in:
Luca 2022-10-07 12:01:13 +02:00
parent 022cdd5d74
commit 54fd0d0226
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,8 @@ switch (filter('op')) {
foreach ($dirs as $dir => $description) { foreach ($dirs as $dir => $description) {
$excluded_extensions = ['htaccess','gitkeep']; $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)); $size = FileSystem::folderSize($dir, array_merge($excluded_extensions,$excluded_dir));