mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Aggiunte excluded dir per verifica numero file e spazio
This commit is contained in:
parent
022cdd5d74
commit
54fd0d0226
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user