removing dirsize for now
This commit is contained in:
parent
9fd8fa470e
commit
1e58be6f86
@ -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');
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
<p class="comment_count">Total amount of comments: <amount>{{$comment_count}}</amount></p>
|
||||
<p class="latest-video">Latest video <a href="/{{$latest_video}}">/{{$latest_video}}</a></p>
|
||||
<p class="newest_user">Newest user <a href="/user/{{$newest_user}}">/user/{{$newest_user}}</a></p>
|
||||
<p class="dirsize">Total size of w0bm: <amount>{{$dirsize}}</amount></p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user