Update
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user