Agregar Bono Pie

This commit is contained in:
Juan Pablo Vial
2024-11-18 23:25:20 -03:00
parent 1e1994264e
commit cb2edb1543
9 changed files with 156 additions and 4 deletions

View File

@ -10,4 +10,11 @@ $app->group('/pie/{pie_id}', function($app) {
});
$app->get('[/]', [Pies::class, 'cuotas']);
});
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'pies']));
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
});