X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/e06899a60cc1bda43249f61aff28f99224b8013f..2dd89e44c718262ef75b7c451d947a5e866b3e67:/sistema/local_lib/prepend.php?ds=sidebyside diff --git a/sistema/local_lib/prepend.php b/sistema/local_lib/prepend.php index 18ca4ae..01b8b8c 100644 --- a/sistema/local_lib/prepend.php +++ b/sistema/local_lib/prepend.php @@ -1,15 +1,24 @@ connect(); +//Creo el objeto Permiso +$SAMURAI_PERM = new SAMURAI_Perm ($_SESSION['samurai']['login'], SAMURAI_ID, $DB); //Creo el objeto Marco -$MARCO = new MECON_Marco ('/var/www/sistemas/samurai/sistema/conf/confSecciones.php'); +$MARCO =& new MECON_Marco ('/var/www/sistemas/samurai/sistema/conf/confSecciones.php', $SAMURAI_PERM); ?>