X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/840abcc48a16d1149da9922585135f09a41e789a..5b15a6f7796a86dfeaf9f41911e7cb112f2c6a97:/sistema/www/consultas/consultas.php diff --git a/sistema/www/consultas/consultas.php b/sistema/www/consultas/consultas.php index a25d2ea..42c01af 100644 --- a/sistema/www/consultas/consultas.php +++ b/sistema/www/consultas/consultas.php @@ -21,7 +21,11 @@ // //VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ -$SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER); +$SAMURAI_PERM->setSistema(SAMURAI_PERM); +if (!$SAMURAI_PERM->tiene(SAMURAI_PERM_DEVELOPER)) { + $SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER); +} +$MARCO =& new MECON_Marco ('/var/www/sistemas/samurai/sistema/conf/confSecciones.php', $SAMURAI_PERM); //}}} //REQUIRE ONCE {{{ require_once 'MECON/HTML/Tabla.php';