File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,13 +66,19 @@ public static function getInformazioni($force = false)
6666 // Recupero ultimi 100 accessi
6767 $ ultimi_accessi = self ::getUltimiAccessi ();
6868
69+ // Recupero numero di custom
70+ $ custom_files = function_exists ('customStructureWithFiles ' ) ? customStructureWithFiles () : [];
71+ $ custom_tables = function_exists ('customTables ' ) ? customTables () : [];
72+
6973 $ response = self ::request ('GET ' , 'info ' , [
7074 'spazio_occupato ' => $ spazio_occupato ,
7175 'utenti_attivi ' => $ utenti_attivi ,
7276 'versione ' => \Update::getVersion (),
7377 'ultimi_accessi ' => $ ultimi_accessi ,
7478 'sync_at ' => Carbon::now ()->toDateTimeString (),
7579 'url_installazione ' => setting ('Base URL ' ),
80+ 'file_custom ' => count ($ custom_files ),
81+ 'db_custom ' => count ($ custom_tables )
7682 ]);
7783 $ content = self ::responseBody ($ response );
7884 $ cache ->set ($ content );
You can’t perform that action at this time.
0 commit comments