v0.3.0
This commit is contained in:
@ -5,12 +5,14 @@ $folder = implode(DIRECTORY_SEPARATOR, [
|
||||
__DIR__,
|
||||
'web'
|
||||
]);
|
||||
$files = new DirectoryIterator($folder);
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
if (file_exists($folder)) {
|
||||
$files = new DirectoryIterator($folder);
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
|
||||
$app->get('/', Home::class);
|
||||
|
6
resources/routes/web/contacto.php
Normal file
6
resources/routes/web/contacto.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use ProVM\NotariaRaby\Common\Controller\Web\Contacto;
|
||||
|
||||
$app->group('/contacto', function($app) {
|
||||
$app->get('[/]', Contacto::class);
|
||||
});
|
6
resources/routes/web/notaria.php
Normal file
6
resources/routes/web/notaria.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use ProVM\NotariaRaby\Common\Controller\Web\Notaria;
|
||||
|
||||
$app->group('/notaria', function($app) {
|
||||
$app->get('[/]', Notaria::class);
|
||||
});
|
Reference in New Issue
Block a user