1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 06:07:39 +02:00

DibiConnection ensures class dibi is loaded

This commit is contained in:
David Grudl
2012-02-01 19:18:07 +01:00
parent 2ae6535899
commit 9b7a80e894

View File

@@ -62,6 +62,8 @@ class DibiConnection extends DibiObject
*/
public function __construct($config, $name = NULL)
{
class_exists('dibi'); // ensure class dibi is loaded
// DSN string
if (is_string($config)) {
parse_str($config, $config);