2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
4 require_once 'MECON/general.php';
6 prepend_include_path('/var/www/sistemas/samurai');
8 //prepend_include_path('/home/llucar/public/meconlib/trondco/lib');
10 require_once 'MECON/Marco.php';
11 require_once 'local_lib/Samurai_DB.php';
12 require_once 'local_lib/Samurai.php';
16 if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
17 $_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
19 if (!isset($_SESSION['samurai']['login']) && isset($_GET['login'])) {
20 $_SESSION['samurai']['login'] = $_GET['login'];
23 //Realizo la conexion con la base de datos
24 $tmp = new Samurai_DB;
25 $DB =& $tmp->connect();