This commit is contained in:
2021-08-10 15:52:03 -04:00
parent ed28bf360b
commit 740de41139
59 changed files with 3860 additions and 0 deletions

9
ui/setup/router.php Normal file
View File

@ -0,0 +1,9 @@
<?php
$folder = $app->getContainer()->get('folders')->routes;
$files = new DirectoryIterator($folder);
foreach ($files as $file) {
if ($file->isDir() or $file->getExtension() !== 'php') {
continue;
}
include_once $file->getRealPath();
}