Primera parte de inicio

This commit is contained in:
2020-04-30 08:31:19 -04:00
parent 6284266d2a
commit 68fb456763
11 changed files with 139 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<?php
include_once $app->getContainer()->get('env') . '.php';

16
resources/routes/web.php Normal file
View File

@ -0,0 +1,16 @@
<?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);