X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/6a5d60ab6ce03a168256c9b77ad1fd3166d50c14..ab276d0f5ae833dd3b9dc8d3a2c92877277984ec:/lib/MECON/Dependencia.php diff --git a/lib/MECON/Dependencia.php b/lib/MECON/Dependencia.php index 2bcffa4..cf0f9f8 100644 --- a/lib/MECON/Dependencia.php +++ b/lib/MECON/Dependencia.php @@ -63,7 +63,7 @@ class Dependencia { function dependencia($codep) // ~X2C { $this->codep = $codep; - $dns = 'mysql://intranet:intranet@intranet-db/novedades'; + $dsn = 'mysql://intranet:intranet@intranet-db/CODEP'; $db = DB::connect($dsn); if (DB::isError($db)) die ($db->getMessage("No pudo conectarse a la base")); $sql = "SELECT nombre, nombre_breve