X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/ab161c8e8c4038bb256c63963c54dbcf64338548..22d1ae1aa6bfee6df20dfa9544e14feaecc9fbf4:/sistema/www/index.php?ds=sidebyside diff --git a/sistema/www/index.php b/sistema/www/index.php index 28a50cf..f078c72 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -18,12 +18,16 @@ // +----------------------------------------------------------------------+ // // $Id$ -// $Author$ -// $URL$ -// $Date$ -// $Rev$ // - $MARCO = new Marco ('samurai'); - $MARCO->addBody(''); + require_once 'HTML/Image.php'; + + //VEO SI HAY QUE ELEGIR EN QUE SISTEMA TRABAJAR {{{ + if (!@$_SESSION['samurai']['id_sistema'] || !@$_SESSION['samurai']['login']) { + header('Location: sel-sistema'); + } + /// }}} + $MARCO = new Marco ('../conf/confSecciones.php'); + $MARCO->addBody(new HTML_Image('images/inicio.jpg')); + $MARCO->setEspacios(false); $MARCO->display(); ?>