From 0c8aa6502bc6f76892388df86375095746d890ed Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 4 Nov 2014 13:49:01 +0100 Subject: [PATCH] Add `prefix' option when creating the resource config for web2's database refs #7163 --- application/forms/Setup/DbResourcePage.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/forms/Setup/DbResourcePage.php b/application/forms/Setup/DbResourcePage.php index 37e08302b..b356d2efa 100644 --- a/application/forms/Setup/DbResourcePage.php +++ b/application/forms/Setup/DbResourcePage.php @@ -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_' + ) + ); } /**