2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
4 require_once 'MECON/general.php';
6 //prepend_include_path('/home/mmarrese/public_html/meconlib/tronco/lib/');
7 prepend_include_path('/var/www/intranet/www/sistemas/samurai');
9 require_once 'MECON/Marco.php';
10 require_once 'local_lib/Samurai_DB.php';
11 require_once 'local_lib/Samurai.php';
15 if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
16 $_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
18 if (!isset($_SESSION['samurai']['login']) && isset($_GET['login'])) {
19 $_SESSION['samurai']['login'] = $_GET['login'];
22 //Realizo la conexion con la base de datos
23 $tmp = new Samurai_DB;
24 $DB =& $tmp->connect();