13 lines
253 B
PHP
13 lines
253 B
PHP
<?php
|
|
use ProVM\Crypto\Common\Controller\Home;
|
|
|
|
$files = new DirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . 'web');
|
|
foreach ($files as $file) {
|
|
if ($file->isDir()) {
|
|
continue;
|
|
}
|
|
include $file->getRealPath();
|
|
}
|
|
|
|
$app->get('/', Home::class);
|