Commit 7512e2ed authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: set storage limit as disk_total_space instead of free space

parent 707dd080
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ class DashboardController extends BaseController
        $appStorageLimit = config('App')
            ->storageLimit;
        if ($appStorageLimit === null || $appStorageLimit < 0) {
            $storageLimitBytes = disk_free_space('./');
            $storageLimitBytes = disk_total_space('./');
        } else {
            $storageLimitBytes = $appStorageLimit * 1000000000;
        }