X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/840abcc48a16d1149da9922585135f09a41e789a..143828a6be52b04af8f4b213ecaceef5b4aaaa48:/sistema/www/consultas/php-constantes.php?ds=sidebyside diff --git a/sistema/www/consultas/php-constantes.php b/sistema/www/consultas/php-constantes.php index b630d35..95d18b2 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';