source: admin/WebConsole/acceso.php @ 905ea9e

Last change on this file since 905ea9e was 71643c0, checked in by ramon <ramongomez@…>, 13 years ago

Integrar versión 1.0.2 en rama trunk (modificar #464).

git-svn-id: https://opengnsys.es/svn/trunk@2404 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 1.0 KB
Line 
1<?
2// ********************************************************************************************************
3// Aplicación WEB: ogAdmWebCon
4// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
5// Fecha Creación: Agosto-2010
6// Fecha Última modificación: Agosto-2010
7// Nombre del fichero: barramenu.php
8// Descripción :Este fichero implementa el menu general de la Aplicación
9// ********************************************************************************************************
10if(isset($_SESSION)){   // Si existe algua sesión ...
11        session_unset(); // Elimina variables
12        session_destroy(); // Destruye sesión
13}
14# Cambiar a HTTPS
15if (empty ($_SERVER["HTTPS"])) {
16        header ("Location: https://".$_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"]);
17        exit (0);
18}
19
20include_once("controlacceso.php");
21
22$herror=0;
23if (isset($_GET["herror"])) $herror=$_GET["herror"];
24if (isset($_POST["herror"])) $herror=$_POST["herror"];
25Header("Location: acceso_".$idi.".php?herror=".$herror); // Redireccionamiento a la página de inicio en el idioma por defecto
26?>
Note: See TracBrowser for help on using the repository browser.