X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/14b7965388416e66c0d012ac6f001f9c877b5ce8..dca3e83212951982c59f002efc6c349f9d9c0ad2:/sistema/www/index.php?ds=sidebyside diff --git a/sistema/www/index.php b/sistema/www/index.php index 2f2a4df..6769b13 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -18,12 +18,18 @@ // +----------------------------------------------------------------------+ // // $Id$ -// $Author$ -// $URL$ -// $Date$ -// $Rev$ // - $MARCO = new Marco ('../conf/confSecciones.php'); - $MARCO->addBody(''); + +//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 MECON_HTML_Image('images/inicio.jpg')); + $MARCO->setEspacios(false); $MARCO->display(); ?>