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