Add `prefix' option when creating the resource config for web2's database

refs #7163
This commit is contained in:
Johannes Meyer 2014-11-04 13:49:01 +01:00
parent ab5df7d2ba
commit 0c8aa6502b
1 changed files with 8 additions and 0 deletions

View File

@ -63,6 +63,14 @@ class DbResourcePage extends Form
$resourceForm = new DbResourceForm();
$this->addElements($resourceForm->createElements($formData)->getElements());
$this->addElement(
'hidden',
'prefix',
array(
'required' => true,
'value' => 'icingaweb_'
)
);
}
/**