We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658c8c6 commit ac46d12Copy full SHA for ac46d12
src/DB/SingletonConnector.php
@@ -66,6 +66,6 @@ private static function getConnect(string $database): DriverPDOInterface
66
}
67
68
if (array_key_exists($database, self::$database)) return self::$database[$database];
69
- return new self::$driver($database, $module['prefix'] ?? '');
+ return self::$database[$database] = new self::$driver($database, $module['prefix'] ?? '');
70
71
0 commit comments