Server-Uebersicht: Uploads, Karten-Daten und Git-Verlauf der Website fehlten unter "Wofuer der Platz verbraucht wird" - du zaehlt in einem Aufruf nichts doppelt und liess die Unterverzeichnisse weg, weil die Website als Ganzes im selben Aufruf stand. Die Website wird jetzt getrennt gemessen
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
9ddc20634b
commit
de9866106c
1 changed files with 3 additions and 1 deletions
|
|
@ -214,7 +214,9 @@ foreach ((array) ($config['groups'] ?? []) as $label => $paths) {
|
||||||
$groupPaths[(string) $label] = array_values(array_map('strval', (array) $paths));
|
$groupPaths[(string) $label] = array_values(array_map('strval', (array) $paths));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sizes = stats_du(array_merge([$site], ...array_values($groupPaths)));
|
// Die Website als Ganzes in einem eigenen Aufruf: du zaehlt nichts doppelt und liesse ihre Unterverzeichnisse
|
||||||
|
// (Uploads, Karten, .git) sonst weg, weil sie im selben Aufruf schon im Ganzen stecken
|
||||||
|
$sizes = stats_du(array_merge(...array_values($groupPaths))) + stats_du([$site]);
|
||||||
$groups = [];
|
$groups = [];
|
||||||
$sitePartsBytes = 0;
|
$sitePartsBytes = 0;
|
||||||
foreach ($groupPaths as $label => $paths) {
|
foreach ($groupPaths as $label => $paths) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue