<?php
// Container Token Purchase Route Handler
// Optimized for Docker container environment

define('_ISVALID', true);

// Set container-specific headers
header('X-Container: vs-php');
header('X-Service: token-purchase');

// Include the actual token purchase module
$token_purchase_file = __DIR__ . '/f_modules/m_frontend/m_donations/token_purchase.php';

if (file_exists($token_purchase_file)) {
    include $token_purchase_file;
} else {
    http_response_code(404);
    echo "<h1>Token Purchase Service Unavailable</h1>";
    echo "<p>The token purchase module is not available in this container.</p>";
    echo "<p>Container: " . gethostname() . "</p>";
}
?>