X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/e06899a60cc1bda43249f61aff28f99224b8013f..dca3e83212951982c59f002efc6c349f9d9c0ad2:/sistema/www/index.php?ds=sidebyside diff --git a/sistema/www/index.php b/sistema/www/index.php index 2f74670..6769b13 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -19,9 +19,17 @@ // // $Id$ // - require_once 'HTML/Image.php'; + +//VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ + if (!$SAMURAI_PERM->tiene(SAMURAI_BAJA_USUARIO, SAMURAI_MODI_USUARIO, SAMURAI_ALTA_USUARIO, + SAMURAI_ALTA_PERFIL,SAMURAI_BAJA_PERFIL,SAMURAI_MODI_PERFIL,SAMURAI_TIPO_PERFIL, + SAMURAI_DEVELOPER)) { +// header('Location: error') + } +//}}} + require_once 'MECON/HTML/Image.php'; - $MARCO->addBody(new HTML_Image('images/inicio.jpg')); + $MARCO->addBody(new MECON_HTML_Image('images/inicio.jpg')); $MARCO->setEspacios(false); $MARCO->display(); ?>