REFACTORING: updated the autoloader, currently a duplicate section has to be refactored. Added a Registry for the settings section of every module.

This commit is contained in:
Stephan Kasdorf
2019-11-10 23:00:26 +01:00
parent d0971daff8
commit 918a2cb4ec
7 changed files with 206 additions and 26 deletions

View File

@@ -10,6 +10,7 @@ class controllerController extends Controller
View::assign([
'name' => 'rapid prototyping framework',
'title' => 'Nibiru Controller Example',
'ndbraw_output' => print_r(Registry::getInstance()->loadModuleConfigByName('users'), true),
'css' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.css"],
'js' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.js"]
]);