X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/6a5d60ab6ce03a168256c9b77ad1fd3166d50c14..56c363442764a21af0820b0e3dd6e9b771119abf:/lib/MECON/Dependencia.php?ds=inline 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