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