<?php

return [
    // Enable only on the MovieDocks (master importer) installation.
    'enabled' => filter_var(env('CATALOG_SYNC_ENABLED', false), FILTER_VALIDATE_BOOL),
    'master_public_url' => env('CATALOG_MASTER_PUBLIC_URL', env('APP_URL', 'https://moviedocks.com')),
    // true = admin sees an error when Fojik could not be updated; MovieDocks data remains saved.
    'fail_import_on_error' => filter_var(env('CATALOG_SYNC_FAIL_IMPORT_ON_ERROR', true), FILTER_VALIDATE_BOOL),
];
