<?php
// This script provides configuration settings to the frontend
header('Content-Type: application/json');

// Load the configuration
include('config.php');

// Return only the settings we want to expose to the frontend
$config = array(
    'download_file' => $settings['download_file'],
    'download_filename' => $settings['download_filename']
);

echo json_encode($config);
?>