]> git.llucax.com Git - mecon/samurai.git/blob - src/www/include/prepend.php
(no commit message)
[mecon/samurai.git] / src / www / include / prepend.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3
4 require_once 'include/lib/marco/Marco.php';
5 require_once 'include/lib/samurai/Samurai_DB.php';
6
7 session_start();
8
9 if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
10     $_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
11 }
12
13 //Realizo la conexion con la base de datos
14 $tmp = new Samurai_DB;
15 $DB  = $tmp->connect();
16
17 ?>