Base admin
This commit is contained in:
@ -1,4 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
use ProVM\KI\Common\Controller\Web\Admin\Home;
|
||||||
|
|
||||||
$app->group('/admin', function($app) {
|
$app->group('/admin', function($app) {
|
||||||
$folder = implode(DIRECTORY_SEPARATOR, [
|
$folder = implode(DIRECTORY_SEPARATOR, [
|
||||||
__DIR__,
|
__DIR__,
|
||||||
@ -13,4 +15,5 @@ $app->group('/admin', function($app) {
|
|||||||
include_once $file->getRealPath();
|
include_once $file->getRealPath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$app->get('[/]', Home::class);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user