mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 06:46:49 +01:00
* [MOD] Improved plugins management
* [MOD] Code refactoring Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
@@ -183,7 +183,10 @@ final class Init extends ModuleBase
|
||||
}
|
||||
|
||||
// Checks if the database is set up
|
||||
if (!DatabaseUtil::checkDatabaseExist($this->container->get(Database::class)->getDbHandler(), $this->configData->getDbName())) {
|
||||
if (!DatabaseUtil::checkDatabaseExist(
|
||||
$this->container->get(Database::class)->getDbHandler(),
|
||||
$this->configData->getDbName())
|
||||
) {
|
||||
$this->router->response()
|
||||
->redirect('index.php?r=error/databaseError')
|
||||
->send();
|
||||
|
||||
Reference in New Issue
Block a user