X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/bb0e12e3bf9629b7209a4e5e72caff8395e2bf96..b6a6a2a30f3d83d558a55fcf809b6098a4b73566:/lib/YATTA/DB.php?ds=sidebyside diff --git a/lib/YATTA/DB.php b/lib/YATTA/DB.php index 4ef69e7..f19bcb7 100644 --- a/lib/YATTA/DB.php +++ b/lib/YATTA/DB.php @@ -43,7 +43,7 @@ class YATTA_DB extends DB { 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);