X-Git-Url: https://git.llucax.com/mecon/yatta.git/blobdiff_plain/bb0e12e3bf9629b7209a4e5e72caff8395e2bf96..0547ec7277c808c744da8087789321b1d8ef43d4:/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);