This commit is contained in:
2021-04-12 00:43:27 -04:00
parent fef167c46e
commit 35bcbd1979
10 changed files with 120 additions and 13 deletions

View File

@ -1,9 +1,16 @@
<?php
use ProVM\Money\Common\Controller\API;
include_once 'currencies.php';
include_once 'values.php';
include_once 'sources.php';
$files = new DirectoryIterator(implode(DIRECTORY_SEPARATOR, [
__DIR__,
'api'
]));
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
$app->get('/', API::class);