setup: Use schema path from setup's config or default

refs #8232
This commit is contained in:
Eric Lippmann 2015-01-16 18:10:54 +01:00
parent ef412688e9
commit 70f080313d
1 changed files with 3 additions and 1 deletions

View File

@ -295,7 +295,9 @@ class WebWizard extends Wizard implements SetupWizard
: null,
'adminPassword' => isset($pageData['setup_database_creation']['password'])
? $pageData['setup_database_creation']['password']
: null
: null,
'schemaPath' => Config::module('setup')
->get('schema', 'path', Icinga::app()->getBaseDir('etc/schema'))
))
);
}