Files
money/resources/routes/api/uf.php

17 lines
345 B
PHP
Raw Normal View History

2023-06-16 00:53:21 +00:00
<?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();
}
}
});