removing dirsize for now

This commit is contained in:
x
2024-08-07 21:12:34 +02:00
parent 9fd8fa470e
commit 1e58be6f86
2 changed files with 1 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ Route::group(["middleware" => "theme"], function() {
//'fav_count' => \App\Models\UserFavorite::count(),
'latest_video' => \App\Models\Video::getLastId(),
'newest_user' => \App\Models\User::orderBy('id', 'DESC')->first()->username,
'dirsize' => shell_exec("(du -sh " . public_path() . "/b | cut -f1)")
//'dirsize' => shell_exec("(du -sh " . public_path() . "/b | cut -f1)")
]);
})->middleware('auth');