This commit is contained in:
2021-06-28 23:15:13 -04:00
parent 0061a3d920
commit f4a8db56ff
93 changed files with 2422 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?php
use ProVM\Crypto\Common\Controller\API;
$folder = __DIR__ . DIRECTORY_SEPARATOR . 'api';
if (file_exists($folder)) {
$files = new DirectoryIterator($folder);
foreach ($files as $file) {
if ($file->getExtension() != 'php') {
continue;
}
include_once $file->getRealPath();
}
}
$app->get('[/]', API::class);