Version produccion

This commit is contained in:
2023-06-16 00:53:21 +00:00
parent 4806784b68
commit 15dfefe517
38 changed files with 848 additions and 0 deletions

View File

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

View File

@ -0,0 +1,7 @@
<?php
use Aldarien\Money\Common\Controller\API\UF\Value;
$app->group('/value', function($app) {
$app->get('/{fecha}', [Value::class, 'fecha']);
$app->get('[/]', Value::class);
});