7ba4e3e0a6
- added TestController.php - added temp function to load controllers (should load later via seo urls) - added baseTemplate for default look and feel - removed adding file extension -> always need to be .php!
9 lines
268 B
PHP
9 lines
268 B
PHP
<?php
|
|
|
|
//register modules -> need to have the Module Class at parent with the init function ;)
|
|
$modules = [];
|
|
|
|
// register controllers that can handle templates ;) need to have a render function for this
|
|
$controllers = [
|
|
'test' => \Modules\TestController::class
|
|
]; |