1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 07:44:02 +01:00

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

View File

@ -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));