- cleaned up some code

- added DataLoader
- added assetDir
- splitted modules and controller namespace
This commit is contained in:
Maurice Grönwoldt 2020-09-20 17:15:20 +02:00
commit 21977588d8
18 changed files with 263 additions and 41 deletions

1
base/config.base.php Normal file → Executable file
View file

@ -42,6 +42,7 @@ $config->setSecurity([
// all themes are in __DIR__/public/theme/
$config->setRender([
'theme' => 'default', //very important! it will search for a folder with this name.
'assetDir' => 'default',
'baseFile' => 'base', //this will called after all templates are rendered...
'useCache' => false, //is only on big systems good
'cacheName' => 'defaultCache', //this is for bigger systems, ignore it