X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/840abcc48a16d1149da9922585135f09a41e789a..c999986d1d961dc60595cd3323d7d3abcfbdff68:/sistema/www/consultas/php-constantes.php?ds=inline diff --git a/sistema/www/consultas/php-constantes.php b/sistema/www/consultas/php-constantes.php index b630d35..2b67947 100644 --- a/sistema/www/consultas/php-constantes.php +++ b/sistema/www/consultas/php-constantes.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/QuickForm.php'; @@ -42,6 +46,7 @@ $start = <<