<?php


return [
    // 'enabled': Set to 'true' to activate maintenance mode.
    // When true, all public access will be redirected to the maintenance page,
    // unless a bypass is active or the path is excluded.
    'enabled' => false,

    // 'bypass_path': The URL segment administrators can visit to access the bypass password form.
    // Example: if your site is example.com, visiting example.com/admin-bypass will show the form.
    'bypass_path' => '/cf-admin-bypass', // It's recommended to make this unique and hard to guess

    // 'bypass_password': The password required to bypass maintenance mode.
    // For production, consider using environment variables (.env) for this value
    // and using a stronger, hashed password if integrated with a user system.
    'bypass_password' => 'supersecurepassword123CFFF!',

    // 'excluded_paths': An array of URL paths that should always be accessible,
    // even when maintenance mode is enabled. Useful for API status endpoints,
    // health checks, or specific login pages if the admin login is separate.
    // Paths should be relative to your project's web root (e.g., 'api/v1/status' for /CoreFlux/api/v1/status).
    'excluded_paths' => [
        '/cf-admin-bypass', // The bypass path itself must be excluded!
        'about',    // Example: API endpoint to check if the service is up
        // 'login', // You might want your login page accessible if admins need to log in normally
    ],
];

?>