]> git.llucax.com Git - mecon/yatta.git/blobdiff - lib/YATTA/DB.php
BugFixes.
[mecon/yatta.git] / lib / YATTA / DB.php
index 4ef69e7ff64ff2e3d6e5ad3558f7681cb7ce68d3..f19bcb721ab268b15fef847110c6176aaee0a55e 100644 (file)
@@ -43,7 +43,7 @@ class YATTA_DB extends DB {
     function connect($CONF)
     {
         $dsn = $CONF['dsn'];
     function connect($CONF)
     {
         $dsn = $CONF['dsn'];
-        unset ($CONF['db']['dsn']);
+        unset ($CONF['dsn']);
         $db = DB::connect($dsn, $CONF);
         if (DB::isError($db)) {
              trigger_error($db->getMessage(), E_USER_ERROR);
         $db = DB::connect($dsn, $CONF);
         if (DB::isError($db)) {
              trigger_error($db->getMessage(), E_USER_ERROR);