X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/bb0e12e3bf9629b7209a4e5e72caff8395e2bf96..0a4eb0ea61d7f6423f94933553fe3a79537cc6b9:/lib/YATTA/DB.php 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);