Files
raby/resources/routes/web.php

17 lines
301 B
PHP
Raw Normal View History

2020-02-27 19:09:54 -03:00
<?php
use ProVM\NotariaRaby\Common\Controller\Web\Home;
$folder = implode(DIRECTORY_SEPARATOR, [
__DIR__,
'web'
]);
$files = new DirectoryIterator($folder);
foreach ($files as $file) {
if ($file->isDir()) {
continue;
}
include_once $file->getRealPath();
}
$app->get('/', Home::class);