Files
KI/resources/routes/web.php
2020-04-30 08:31:19 -04:00

17 lines
292 B
PHP

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