Files
emailtemplate.it/api/index.php
2025-12-08 01:37:28 +01:00

14 lines
389 B
PHP

<?php
declare(strict_types=1);
/**
* Public API front controller for api.(staging.)emailtemplate.it
* Routes requests to the shared ApiKernel but marks the scope as "external".
*/
// Force scope flag so ApiKernel can limit available actions if needed
$_GET['scope'] = $_GET['scope'] ?? 'external';
// Re-use the existing kernel bootstrap
require_once __DIR__ . '/../public/api.php';