mirror of
https://github.com/dg/dibi.git
synced 2025-08-21 21:25:29 +02:00
cs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
// The Nette Tester command-line runner can be
|
||||
@@ -18,7 +19,7 @@ date_default_timezone_set('Europe/Prague');
|
||||
// load connection
|
||||
try {
|
||||
$config = Tester\Environment::loadData();
|
||||
} catch (Exception $e) {
|
||||
} catch (Throwable $e) {
|
||||
$config = parse_ini_file(__DIR__ . '/../databases.ini', true);
|
||||
$config = reset($config);
|
||||
}
|
||||
|
Reference in New Issue
Block a user