X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/94983fa84d06dc5e6f99f6b570245bcf08b96a75..bcca0c17730ae290fdbdfe15f506354c1acd6c07:/sistema/www/index.php diff --git a/sistema/www/index.php b/sistema/www/index.php index 285f3f1..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(); ?>