venom/module.base.php
VersusTune 7ba4e3e0a6 - added error_reporting if devMode
- 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!
2020-04-03 13:19:26 +02:00

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
];