X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/d0ae155a8be2168110755cce58865068b34bfe91..701e5406c83c349adbc557c92cdd6d46c51a1308:/sistema/www/index.php diff --git a/sistema/www/index.php b/sistema/www/index.php index f078c72..6fdca56 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -1,5 +1,5 @@ chequear(SAMURAI_PERM_USUARIO_BAJA, SAMURAI_PERM_USUARIO_MODIF, SAMURAI_PERM_USUARIO_ALTA, + SAMURAI_PERM_PERFIL_ALTA,SAMURAI_PERM_PERFIL_BAJA,SAMURAI_PERM_PERFIL_MODIF,SAMURAI_PERM_PERFIL_TIPO, + SAMURAI_PERM_DEVELOPER); +//}}} +//VERIFICO SI SE PASO ALGUNA ACCION {{{ + if (isset($_GET['accion'])) { + switch ($_GET['accion']) { + case 'usuarios': header('Location:usuarios/usuarios'); + break; + case 'perfiles': header('Location:perfiles/perfiles'); + break; + } } - /// }}} - $MARCO = new Marco ('../conf/confSecciones.php'); - $MARCO->addBody(new HTML_Image('images/inicio.jpg')); +//}}} + require_once 'MECON/HTML/Image.php'; + $MARCO->addBody(new MECON_HTML_Image('images/inicio.jpg')); $MARCO->setEspacios(false); $MARCO->display(); ?>