up
This commit is contained in:
13
api/index.php
Normal file
13
api/index.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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';
|
||||
Reference in New Issue
Block a user