API/external

This commit is contained in:
Juan Pablo Vial
2025-05-12 15:47:51 -04:00
parent 32130f0bc2
commit abe37227ce

View File

@ -0,0 +1,10 @@
<?php
$app->group('/external', function($app) {
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'external']));
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
});