Files
money/resources/routes/web.php
2023-06-16 00:53:21 +00:00

19 lines
360 B
PHP

<?php
use Aldarien\Money\Common\Controller\Web\Base;
$folder = implode(DIRECTORY_SEPARATOR, [
__DIR__,
'web'
]);
if (file_exists($folder)) {
$files = new DirectoryIterator($folder);
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
}
$app->get('/', Base::class);