Add `prefix' option when creating the resource config for web2's database
refs #7163
This commit is contained in:
parent
ab5df7d2ba
commit
0c8aa6502b
|
@ -63,6 +63,14 @@ class DbResourcePage extends Form
|
||||||
|
|
||||||
$resourceForm = new DbResourceForm();
|
$resourceForm = new DbResourceForm();
|
||||||
$this->addElements($resourceForm->createElements($formData)->getElements());
|
$this->addElements($resourceForm->createElements($formData)->getElements());
|
||||||
|
$this->addElement(
|
||||||
|
'hidden',
|
||||||
|
'prefix',
|
||||||
|
array(
|
||||||
|
'required' => true,
|
||||||
|
'value' => 'icingaweb_'
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue