In bootstrap.php I have $configurator->addConfig('config.neon');.
$configurator->addConfig('config.neon');
Let say I add a custom value to config.neon, e.g. “appname:MegaSite”, and want to use this variable in a template.
appname:MegaSite
How do I reference a variable from configuration in a presenter?
Pass it to the presenter https://blog.nette.org/…-to-services
Thanks, it worked!
Dependency injection is the most difficult part of Nette to understand, but I am getting there :-)