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