2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
4 require_once 'include/lib/marco/Marco.php';
5 require_once 'include/lib/samurai/Samurai_DB.php';
6 require_once 'include/lib/samurai/Samurai.php';
10 if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
11 $_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
13 if (!isset($_SESSION['samurai']['login']) && isset($_GET['login'])) {
14 $_SESSION['samurai']['login'] = $_GET['login'];
17 //Realizo la conexion con la base de datos
18 $tmp = new Samurai_DB;
19 $DB =& $tmp->connect();