<?php

return [
    // Path to LibreOffice soffice binary. On Windows, set to full path like:
    // C:\\Program Files\\LibreOffice\\program\\soffice.exe
    'libreoffice_bin' => env('LIBREOFFICE_BIN', 'soffice'),

    // Disk used to store generated previews (PDFs)
    'preview_disk' => env('FILES_PREVIEW_DISK', 'public'),

    // Base directory within the disk for previews
    'preview_base' => env('FILES_PREVIEW_BASE', 'previews/cases'),

    // Whether to enable scheduled pruning of old previews
    'enable_preview_prune' => env('FILES_ENABLE_PREVIEW_PRUNE', true),

    // How many days to retain previews before pruning (when pruning enabled)
    'preview_retention_days' => env('FILES_PREVIEW_RETENTION_DAYS', 90),
];
