X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/14e2988c3bc7f1aaff41cd3b502e03ffa8daff89..de4cfadb31bf782b45184a44ba02bb73f8cc2f77:/sistema/www/sistemas/sistemas.php
diff --git a/sistema/www/sistemas/sistemas.php b/sistema/www/sistemas/sistemas.php
index 1f80fc1..5bfd70d 100644
--- a/sistema/www/sistemas/sistemas.php
+++ b/sistema/www/sistemas/sistemas.php
@@ -22,14 +22,17 @@
require_once 'MECON/HTML/Tabla.php';
require_once 'SAMURAI/Sistema.php';
+//VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{
+$SAMURAI_PERM->chequear(SAMURAI_DEVELOPER);
+//}}}
$aHrefPopup = '';
$aHref = '';
$aHrefModif = $aHref.'';
$aHrefElim = $aHref.'';
$aHrefPerm = '';
//VEO SI HAY QUE ELEGIR EN QUE SISTEMA TRABAJAR {{{
- if (!@$_SESSION['samurai']['id_sistema'] || !@$_SESSION['samurai']['login']) {
- header('Location: ./../sel-sistema');
+ if (!@$_SESSION['samurai']['id_sistema']) {
+ header('Location: ./../sel-sistema?redirect=sistemas/sistemas');
}
// }}}