nette/nette — comment on commit 0f3a50d29291a6999b3fbc416809209e20c5f4f0
File:  line 0
By Edke:

Skvele, dalsi riadok z bootstrapu moze ist prec:

Debugger::$email = $container->parameters['application']['webmaster'];

Ale stale este jedna vec k absolutnej dokonalosti tomu chyba. Ak implicitne nastavim v configu productionMode:

parameters:
productionMode: true

Configurator by mal byt vygenerovany tak, ze v initialize() by sa mal prestavit Debugger aj Configurator. Zatial teda musim rucne to poriesit v bootstrape:

# Update Debugger and Configurator with local parameters from container
$productionMode = $container->parameters['productionMode'];
$configurator->setProductionMode($productionMode);
Debugger::$productionMode = $productionMode;