mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Re-enable setting the current configuration when showing icingaweb/config
fixes #5972
This commit is contained in:
parent
875f338824
commit
82ca774331
@ -114,7 +114,7 @@ class ConfigController extends BaseConfigController
|
|||||||
$this->view->messageBox = new AlertMessageBox(true);
|
$this->view->messageBox = new AlertMessageBox(true);
|
||||||
$this->view->tabs->activate('index');
|
$this->view->tabs->activate('index');
|
||||||
$form = new GeneralForm();
|
$form = new GeneralForm();
|
||||||
//$form->setConfiguration(IcingaConfig::app());
|
$form->setConfiguration(IcingaConfig::app());
|
||||||
$form->setRequest($this->_request);
|
$form->setRequest($this->_request);
|
||||||
if ($form->isSubmittedAndValid()) {
|
if ($form->isSubmittedAndValid()) {
|
||||||
if (!$this->writeConfigFile($form->getConfig(), 'config')) {
|
if (!$this->writeConfigFile($form->getConfig(), 'config')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user