mirror of https://github.com/MISP/MISP
Merge branch '2.4' into develop
commit
921afb9548
|
@ -878,7 +878,7 @@ class AppController extends Controller
|
|||
ConnectionManager::create('default', $db->config);
|
||||
}
|
||||
$dataSource = $dataSourceConfig['datasource'];
|
||||
if (!in_array($dataSource, ['Database/Mysql', 'Database/Postgres', 'Database/MysqlObserver', 'Database/MysqlExtended'], true)) {
|
||||
if (!in_array($dataSource, ['Database/Mysql', 'Database/Postgres', 'Database/MysqlObserver', 'Database/MysqlExtended', 'Database/MysqlObserverExtended'], true)) {
|
||||
throw new Exception('Datasource not supported: ' . $dataSource);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue