X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/80e7fe0c5252de7db56416187636dac4e0f6fcdf..e0e275daf3624e7c6bfce0eb27717d14572273ce:/sistema/local_lib/HTML_Servicio.php diff --git a/sistema/local_lib/HTML_Servicio.php b/sistema/local_lib/HTML_Servicio.php index ec6110a..a478643 100644 --- a/sistema/local_lib/HTML_Servicio.php +++ b/sistema/local_lib/HTML_Servicio.php @@ -1,17 +1,17 @@ | +// | Autor: Gonzalo Merayo | // +--------------------------------------------------------------------+ // // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $ // - require_once 'MECON/HTML/Image.php'; require_once 'MECON/HTML/Link.php'; -require_once 'DB.php'; +require_once 'intranetdb.php'; require_once 'AI/Servicio.php'; -// require_once 'AI/DB.php'; // +X2C includes require_once 'HTML/Table.php'; @@ -59,10 +57,10 @@ class HTML_Servicio extends HTML_Table { 'cellspacing' => '0', 'cellpadding' => '0', 'bgcolor' => '#FFFFFF')); - $bd = DB::Connect('mysql://intranet:intranet@bal747f/intranet');//FIXME + $db = IntranetDB::connect(); $this->servicio = new AI_Servicio($seccion); - $this->servicio->cargar($bd); - $this->servicio->cargarHijos($bd, true, AI_SERVICIO_ORDEN_LONG_NOMBRE); + $this->servicio->cargar($db); + $this->servicio->cargarHijos($db, true, AI_SERVICIO_ORDEN_LONG_NOMBRE); } // -X2C