view->config = IcingaConfig::fromDb(Util::hex2binary($this->params->get('checksum')), $this->db()); } public function storeAction() { $config = IcingaConfig::generate($this->db()); $this->redirectNow( Url::fromPath('director/config/show', array('checksum' => $config->getHexChecksum())) ); } }